[webbeans-issues] [JBoss JIRA] Commented: (WBRI-258) The conversation needs to be restored in the restore view phase in JSF 2

Francisco Jose Peredo Noguez (JIRA) jira-events at lists.jboss.org
Tue Jun 2 07:38:56 EDT 2009


    [ https://jira.jboss.org/jira/browse/WBRI-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12470203#action_12470203 ] 

Francisco Jose Peredo Noguez commented on WBRI-258:
---------------------------------------------------

Does this basically mean that rejected JBSEAM-3768 will endup getting fixed?

> 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