[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2553) <s:fileUpload> terminates UPDATE_MODEL phase

Kenneth Christensen (JIRA) jira-events at lists.jboss.org
Tue Jan 29 17:37:02 EST 2008


<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

        



More information about the seam-issues mailing list