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?