Details
-
Type:
Bug
-
Status: Waiting for Feedback
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.3.0
-
Fix Version/s: None
-
Component/s: JSF
-
Labels:
Description
When using a UI component value binding such as
<h:inputText binding="#{facesRequestScopedBean.component}" />
the state is lost when a validation error occurs for another input on the same form.
Note we are using a JSF managed request scoped bean as the component tree can't be serialised and stored in a flow bean. Even though the bean is request scoped, SWF is creating new instances within the lifecycle of a single request.
This could be related to JsfView.getUserEventState() returning null instead of the ViewRoot when JSF2 is in use.
This could be considered a limitation of combining SWF with JSF2 rather than a bug but I haven't come across any mention of this problem on the forums or Jira.