[ 
https://issues.apache.org/jira/browse/MYFACES-3865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13923715#comment-13923715
 ] 

Karl Kildén commented on MYFACES-3865:
--------------------------------------

I tested more with this. I replaced the jars in TomEE and so far I have not 
found a version of myfaces that works for me. I run a plain TomEE on windows 
and this is the markup:


<h:body>
        <h:form id="mainForm" enctype="multipart/form-data">
            <h:commandButton value="Press me" action="#{bean.test}"/><br/>
        </h:form>
        
         <h:form id="mainForm2" >
            <h:commandButton value="Press me2" action="#{bean.test}"/><br/>
        </h:form>

 </h:body>

I used a debugger and my action is never invoked with the enctype.



> enctype="multipart/form-data not working
> ----------------------------------------
>
>                 Key: MYFACES-3865
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3865
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>         Environment: Jetty maven plugin 9.0.5, TomEE 1.6, Myfaces 2.2
>            Reporter: Karl Kildén
>
> Discussed on the list here:
> https://mail-archives.apache.org/mod_mbox/myfaces-users/201403.mbox/thread
> Here's the project I used to reproduce it:
> https://dl.dropboxusercontent.com/u/860312/javaweb-cdi-ds-project-template.rar
> Note that with the enctype the post does not work at:
> http://localhost:8080/javaweb-cdi-ds-project-template/helloWorld.xhtml
> It is not broken if the sample is started with -Pmojarra



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to