Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 8th, 2007, 04:59 AM
Authorized User
 
Join Date: Sep 2006
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Default Going back ... possible?

Hallo (again) everyone,

In our reports, javascript (embedded in the XSLT) calls up data based on selections made by the user. These selections are made in picklists generated by the XSLT based on the underlying XML and previous selections made. This all works fine so long as the user makes the selection from the lists provided.

However, if the user clicks on the 'Back' button (of the browser), then he/she is taken back to the main menu rather than back to the previous selection.

To me this seems to be understandable behaviour but it is confusing to some users so I am now wondering if I can take action to prevent the problem: Either by deactivating the browser's 'Back' button or by providing my own 'Back' button so that the user can return to the previous selection (but this might be complicated).

If anyone has any tips or maybe information about their own experience with such navigation issues, that would be a great help to us.

Regards and thanks,
Alan Searle.

 
Old January 8th, 2007, 06:13 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

You're asking questions about how to control the browser. That's not an XSLT question. XSLT just transforms XML to HTML. If you know how to achieve the desired effect in HTML, then it will be easy to generate the required HTML using XSLT. If you don't know, then no amount of XSLT knowledge will help you.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
 
Old January 8th, 2007, 06:24 AM
Authorized User
 
Join Date: Sep 2006
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I agree that this is a bit out of the scope.

I think that we simply need to emphasise to users that they must use only the features provided in the application (i.e. XSLT) to navigate. That will avoid complications.

Thanks for your feedback.

Regards,
Alan.






Similar Threads
Thread Thread Starter Forum Replies Last Post
I am back VeganMan BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 16 April 3rd, 2008 12:28 AM
I'm back mehdi62b C# 10 August 14th, 2006 04:53 PM
Back Up tsimsha Classic ASP Databases 0 September 19th, 2004 08:42 PM
history.back or hitting the back button won't work lian_a Classic ASP Basics 4 July 29th, 2004 12:14 AM
Back Up shamsad Oracle 0 February 11th, 2004 06:00 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.