-
1. Re: View Scope Fails After Ajax Request
kenfinni Feb 21, 2013 9:13 AM (in response to aftorre)1 of 1 people found this helpfulHave you tried turning partial state saving off for the whole application, or just the single page in question? (See http://stackoverflow.com/questions/3256142/viewscoped-managed-bean-loads-many-times-during-postback)
Unfortunately there are still occasional problems with view scoped beans, and you may be experiencing one of them.
If partial state saving doesn't solve the issue, then it may be a bug in Portlet Bridge so please file a JIRA and we will look at it.
Regards
Ken
-
2. Re: View Scope Fails After Ajax Request
aftorre Feb 21, 2013 2:24 PM (in response to kenfinni)Unfortunately, setting partial state saving did not help the issue. I set it for my portlet which was the only portlet on the GateIn page. I'm not sure how to turn disable partial state saving for the "whole application", perhaps what I did covers that case.
I'll write up a JIRA ticket, unless you feel there is something else I can try.
Regards,
Al
-
-
4. Re: View Scope Fails After Ajax Request
aftorre Feb 25, 2013 12:15 PM (in response to aftorre)I also have noticed that if a portlet is using an a4j:poll, a new view scoped backing bean is created upon every poll invocation. I'm not sure if this is a related issue or a separate issue.