This content has been marked as final.
Show 6 replies
-
1. Re: What must I do to make the back button stop working?
pettersonfp Jul 3, 2007 3:55 PM (in response to pettersonfp)By stop working I mean, redirect to the page it was before the back was pressed.
-
2. Re: What must I do to make the back button stop working?
hkarapuu Jul 3, 2007 6:07 PM (in response to pettersonfp)if ( history.forward(1) ) {
history.replace(history.forward(1));
}
? -
3. Re: What must I do to make the back button stop working?
pettersonfp Jul 5, 2007 12:20 PM (in response to pettersonfp)I thought that just disabling the back in seam's configuration should do the trick. Am I wrong?
-
4. Re: What must I do to make the back button stop working?
hkarapuu Jul 5, 2007 1:04 PM (in response to pettersonfp)"pettersonfp" wrote:
I thought that just disabling the back in seam's configuration should do the trick. Am I wrong?
Beats me, i'm pulling my hair out trying to make it work, instead of disabling. Wanna change back buttons? -
5. Re: What must I do to make the back button stop working?
gavin.king Jul 5, 2007 1:54 PM (in response to pettersonfp)"pettersonfp" wrote:
I thought that just disabling the back in seam's configuration should do the trick. Am I wrong?
The back button does not do a request to the server! You can't actually disable the backbutton itself. However, you can tell Seam to detect the prior use of the backbutton on the next request to the server. But only when you are using a pageflow. -
6. Re: What must I do to make the back button stop working?
pettersonfp Jul 5, 2007 1:58 PM (in response to pettersonfp)I thought that seam somehow did put some javascript to avoid a user to go back in a pageflow with the back button.
Thanks for your explanation.