[jboss-user] [JBoss Portal] - Portlet expiration cache + Multiple instances

MaDrense do-not-reply at jboss.com
Mon Jan 12 11:39:03 EST 2009


I'm setting the portlet expiration cache to -1. I have an instance of this portlet in every page of the portlet. The portlet is a simple form that set a value in the session.

If i submit the form in a page the value is correctly put in the session and the forms value is correct. The cache is being invalidated and the htm fragment is correct. 

The problem is if I go to another page with the same portlet and enter a new value. Then, altough the session's value is correct, if I navigate again to previous page it still has the old value in the form thus it did not invalidate this instance's cache!

If seems to me that the view cache is instance based although all the instances have the same windowId and are using the same portlet!.

Is this normal or am I doing something wrong ?



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201077#4201077

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201077

More information about the jboss-user mailing list