This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes JSF and the fly likes How to disable browser back button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "How to disable browser back button " Watch "How to disable browser back button " New topic
Author

How to disable browser back button

S Majumder
Ranch Hand

Joined: Jun 03, 2009
Posts: 244
Hi every body I am trying to disable the browser back button in my JSF application , but I am not able to do this ,
this is very urgent for me , please help me to solve this problem .

Thnaks and regrards,
S
Moayad Abu Jaber
Ranch Hand

Joined: Jan 15, 2008
Posts: 80
Hi,
do you mean You Wanna retrieve component from client side ? if that what you want you can used JavaScript.
JSF have special name conventions for components. check the link below for this issue.
Click here to see article


I hope that what you want !

Best Regards,
Moayad Abu Jaber
SCJP 5.0, SCWCD 1.4, SCBCD 5.0
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60050
    
  65

Please read this.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
S Majumder
Ranch Hand

Joined: Jun 03, 2009
Posts: 244
Thanks for the reply , but how could I diable the browser back button ?
Is there any way to solve the problem ?

I want to disable the browser back button , when my App will start run .

regards,
S

Moayad Abu Jaber
Ranch Hand

Joined: Jan 15, 2008
Posts: 80
through javascript event handling. you can see this article may will help you in page event handling

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to disable browser back button
 
Similar Threads
Back button issue
Log Out Problem
Disabling the Back button of the browser
Browser Back Button
how to diable browser back button