aspose file tools*
The moose likes JSF and the fly likes  can't back to previous page in JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark " can Watch " can New topic
Author

can't back to previous page in JSF

Ahmed Battah
Greenhorn

Joined: Jan 18, 2009
Posts: 5
I have a portlet that has 2 pages. You fill out a form, confirm that
data, etc. When I get to my second page using <h:commandLink>, and I
try to go back to the first page by clicking "back", it always takes
me to my second page
Akbar Basha R
Greenhorn

Joined: Mar 11, 2002
Posts: 23
I think you haven't defined the faces-config.xml properly. Here is a sample faces-config.xml



In the command link, make sure the action method is returning back. In this way, the page will move to first page on the link action.
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

"Akbar Basha R " please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.


SCJP, SCWCD.
|Asking Good Questions|
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Akbar Basha R wrote:I think you haven't defined the faces-config.xml properly.
I think he was talking about the browser's back button.
Ahmed Battah
Greenhorn

Joined: Jan 18, 2009
Posts: 5
exactly as "Bauke" said,
i mean browser back button
Ahmed Battah
Greenhorn

Joined: Jan 18, 2009
Posts: 5
exactly as "Bauke" said,
i mean browser back button
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can't back to previous page in JSF