]
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: