[
http://jira.jboss.com/jira/browse/JBSEAM-2553?page=all ]
Kenneth Christensen closed JBSEAM-2553.
---------------------------------------
Resolution: Cannot Reproduce Bug
<s:fileUpload> terminates UPDATE_MODEL phase
--------------------------------------------
Key: JBSEAM-2553
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2553
Project: JBoss Seam
Issue Type: Bug
Components: JSF Controls
Affects Versions: 2.0.1.CR2
Environment: Seam 2.0.1.CR2
Reporter: Kenneth Christensen
Priority: Critical
JSF components placed before the <s:fileUpload> component will be updated (model).
JSF components placed after the <s:fileUpload> component will NOT be updated
(model).
Example:
...
...
<h:form id="importDocumentForm"
enctype="multipart/form-data">
...
...
<h:inputText value="#{libraryDomain.title}"
required="true"/> <-------- title is updated correctly
...
...
<s:fileUpload id="file" required="true"
data="#{importLibraryFileUi.data}"
fileName="#{importLibraryFileUi.fileName}"
fileSize="#{importLibraryFileUi.fileSize}"
contentType="#{importLibraryFileUi.fileContentType}"/>
...
...
<h:inputText value="#{libraryDomain.description}"
required="true"/> <-------- description is NOT updated !
...
...
</h:form>
...
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira