[webbeans-issues] [JBoss JIRA] Resolved: (WBRI-258) The conversation needs to be restored in the restore view phase in JSF 2
Dan Allen (JIRA)
jira-events at lists.jboss.org
Fri May 8 02:10:46 EDT 2009
[ https://jira.jboss.org/jira/browse/WBRI-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Allen resolved WBRI-258.
----------------------------
Resolution: Done
Assignee: Dan Allen
> The conversation needs to be restored in the restore view phase in JSF 2
> ------------------------------------------------------------------------
>
> Key: WBRI-258
> URL: https://jira.jboss.org/jira/browse/WBRI-258
> Project: Web Beans
> Issue Type: Bug
> Affects Versions: 1.0.0.PREVIEW1
> Reporter: Dan Allen
> Assignee: Dan Allen
> Fix For: 1.0.0.PREVIEW2
>
>
> JSF 2 walks the tree in the RestoreView phase, whereas JSF 1 does not. The timing causes a problem if you have a value expression bound to a conversation-scoped bean. The solution is to use a ComponentEventListener to restore the conversation rather than a phase listener. The listener should observe the PostRestoreStateEvent on UIViewRoot. Component listeners can be registered programmatically. WebBeans should detect which version of JSF is in use and act accordingly.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list