It's not a secret anymore!
The moose likes JSF and the fly likes View Expired Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "View Expired " Watch "View Expired " New topic

View Expired

Balaji Partasarathy

Joined: Dec 09, 2011
Posts: 6


I am working in Portal application build using JSF and Ajax.
All the pagecodes are in request scope. We have a page with 2 portlets and in one of the portlet we use ajax to rerender components.
When we do such rerendering we are able to modify it 3 times and when we submit the form it gets submitted but if we rerender more than 3 times and when we try to submit it gives a view expired exception and the page reloads with all values cleared up.
Currently there is no entry in web.xml for number of logical views. So I guess its defaulted to 15. If I had an entry to this and set the value to 30 I am able to rerender for around 10 times but more than that it gives a view expired exception.(This might occupy a lot of memory)
Can you please let me know how I can solve this with optimal utilization of views and also find how many viewsa are being utilized by each portlet?

Roberto Perillo

Joined: Dec 28, 2007
Posts: 2271

Greetings, "Bala". Welcome to JavaRanch!

Please take a look at your private messages for an administrative matter.
I agree. Here's the link:
subject: View Expired
It's not a secret anymore!