[
https://issues.apache.org/jira/browse/TOMAHAWK-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Marinschek resolved TOMAHAWK-63.
---------------------------------------
Resolution: Fixed
Fix Version/s: 1.1.7-SNAPSHOT
Thanks to Alexander Jesse for checking this.
regards,
Martin
> having two or more <x:inputFileUpload> in the same form results in the
> <h:commandButton>'s action never being executed.
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: TOMAHAWK-63
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-63
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: File Upload
> Environment: Windows, Tomcat 5.5 and Sun RI 1.1.01
> Reporter: Neal Katz
> Assignee: Manfred Geiler
> Fix For: 1.1.7-SNAPSHOT
>
>
> having two or more <x:inputFileUpload> in the same form results in the
> <h:commandButton>'s action never being executed.
> example,
> <h:panelGrid columns="3" styleClass="page-header">
> <h:outputText value="Select Primary Image" />
> <x:inputFileUpload id="fileupload1"
> accept="image/*"
> value="#{editProductPageBean.upFile}"
> storage="file"
> styleClass="fileUploadInput"
> required="true" />
> <h:commandButton value="Upload"
>
> action="#{editProductPageBean.uploadPrimary}" />
> <h:outputText value="Select Thumb Image" />
> <x:inputFileUpload id="fileupload2"
> accept="image/*"
> value="#{editProductPageBean.upFile}"
> storage="file"
> styleClass="fileUploadInput"
> required="true" />
> <h:commandButton value="Upload"
>
> action="#{editProductPageBean.uploadThumb}" />
> </h:panelGrid>
> remove the second <x:inputFileUpload> and everything works fine
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.