You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Alexander Jesse (JIRA)" <de...@myfaces.apache.org> on 2007/11/29 14:00:44 UTC

[jira] Commented: (TOMAHAWK-63) having two or more in the same form results in the 's action never being executed.

    [ https://issues.apache.org/jira/browse/TOMAHAWK-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546714 ] 

Alexander Jesse commented on TOMAHAWK-63:
-----------------------------------------

A test using
- Tomahawk 1.1.7-snapshot (testing Martin's mods for issue TOMAHAWK-6)
- Sun-RI 1.2_06
- Tomcat 6
- Facelets 1.1.11
shows that this is working now. 

> 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
>
> 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.