-
1. Re: jpdl and browser back button
mikkus70 Dec 23, 2009 6:30 PM (in response to salski22)If you intend that you want the browser's button physically disabled or removed, this is not what Seam does (perhaps it is even impossible to do, although there are some workarounds such as opening browser pages without buttons and menus).
The back property is intended to disallow the user from going back and resubmit data in prior screens. Going back in itself is not a problem, the problem comes when the user does something in that page he went to (such as clicking a
save
button again). So, when back="disabled", you can go back with the button, but if you submit an action (even Ajax) Seam will take you back to the view you were in before getting back and issues anIllegal navigation
error. -
2. Re: jpdl and browser back button
salski22 Dec 23, 2009 10:14 PM (in response to salski22)Of course I dont't want to physically remove browser button, maybe I'm new with seam but I'm not silly :-). And yes I have Illegal navigation error, so does it means I have to catch that error or I can somehow prevent users to go back the previous page which is in some converasation?
Thanx in advance