Skip to Content
Former Member
Apr 08, 2004 at 07:44 AM

How to handle browser BACK / FORWARD commands?


I have build a demo Product Data Portal using the JSPDynPage solution. Event handling of events raised by user interface controls is clear, the same holds for the control model. You handle the web control event in some method of the extended JSPDynPage class and hence determines the new state.

But how to handle the situation that the user clicks on the BACK button (or FORWARD) of the browser? What I would like then is that this event is intercepted also by the framework and an automatic dispatch is done to the method I want, for example onGoBack. Thus the same situation as when I use explicitly a GoBack push button of which the click event is handled in the onGoBack method of the extended JSPDynPage class (what I do now). This makes that control is transparent.

Is there anybody who can help me with this topic?