|
Subject:
|
Going back ... possible?
|
|
Posted By:
|
asearle
|
Post Date:
|
1/8/2007 3:59:25 AM
|
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.
|
|
Reply By:
|
mhkay
|
Reply Date:
|
1/8/2007 5:13:36 AM
|
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
|
|
Reply By:
|
asearle
|
Reply Date:
|
1/8/2007 5:24:43 AM
|
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.
|