aspose file tools
The moose likes JSF and the fly likes JSF navigation/back button problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "JSF navigation/back button problem" Watch "JSF navigation/back button problem" New topic
Author

JSF navigation/back button problem

Jesse Felter
Greenhorn

Joined: Aug 23, 2004
Posts: 17
I know this topic has been exhausted in these forums and I know in 1.2 they deal with this issue, so I apologize for being redundant. However I am trying to resolve this issue without waiting for 1.2.

My issue is for a site, the navigation is determined through a datatable with commandlinks. When a link is clicked, it populates the datatable with new links and accordingly goes through faces navigation and gives the next page. This navigation works perfectly, the problem is when you click the first link and then hit the back button. Then if you click that same link again, it will give an arrayoutofbounds exception. I figure the back button is just using the browsers cache and is not making a trip back to the server.

I am trying to find a solution, what I have tried so far is turning off the caching for the pages and setting the state_saving_method in the web.xml to client.. neither of these options worked. If there is any guidance out there, it would be greatly appreciated.

Thanks
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: JSF navigation/back button problem
 
Similar Threads
Datatable trying to access non-existent field from Bean
Simple list table
Problem with Trinidad's Dialog box.
Simple pattern
Problem w/Data Table model