[seam-issues] [JBoss JIRA] Commented: (SEAMFACES-93) UIInputContainer loses component state after process validation failure
José Freitas (JIRA)
jira-events at lists.jboss.org
Wed May 18 14:56:00 EDT 2011
[ https://issues.jboss.org/browse/SEAMFACES-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603018#comment-12603018 ]
José Freitas commented on SEAMFACES-93:
---------------------------------------
I made a preliminary test and it seems to work but it changes (big change I'd say) the way someone uses the component
<sc:inputContainer label="Name" required="true">
<f:facet name="inputContainerFacet">
<h:inputText id="name" required="true" size="50" maxlength="50" value="#{testBean.name}" label="Name"/>
</f:facet>
</sc:inputContainer>
and normally is:
<sc:inputContainer label="Name" required="true">
<h:inputText id="name" required="true" size="50" maxlength="50" value="#{testBean.name}" label="Name"/>
</sc:inputContainer>
> UIInputContainer loses component state after process validation failure
> -----------------------------------------------------------------------
>
> Key: SEAMFACES-93
> URL: https://issues.jboss.org/browse/SEAMFACES-93
> Project: Seam Faces
> Issue Type: Bug
> Components: UI Components
> Affects Versions: 3.0.0.CR1
> Environment: JBoss AS6 Final
> Reporter: Andrew Wheeler
> Assignee: José Freitas
> Fix For: Future
>
> Attachments: input.xhtml, test.xhtml, TestBean.java
>
>
> When posting a form using a composite of type org.jboss.seam.faces.InputContainer and the process validation fails (required field) then the form values are not restored. Instead the fields are rendered with blank values.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list