Yes, Also https://issues.apache.org/jira/browse/MYFACES-3865




On 10 March 2014 21:35, Howard W. Smith, Jr. <smithh032...@gmail.com> wrote:

> Leonardo Uribe, see below. I think this is the thread where Karl discussed
> his fileUpload issue, and shared a test case (below), too.
>
>
>
>
> On Tue, Mar 4, 2014 at 9:18 AM, Karl Kildén <karl.kil...@gmail.com> wrote:
>
> > Leonardo Uribe, Thanks for doing a test with this already.
> >
> > Everyone, this is how I reproduced it in a test project:
> >
> >
> >    - Cloned Gerhards template
> > project:https://github.com/os890/javaweb-cdi-ds-project-template
> >    - Ran with mvn clean install jetty:run ->
> >
> http://localhost:8080/javaweb-cdi-ds-project-template/helloWorld.xhtml-
> > >
> > Wrote my name and pressed "Press Me" and it successfully navigated.
> >    - Changed helloWorld.xhtml and added enctype="multipart/form-data" to
> >    the form.
> >    - Ran project with mvn clean install jetty:run -> it does not work
> >    - Ran project with mvn clean install jetty:run -Pmojarra -> works
> (Note
> >    that mojarra profile is used)
> >
> >
> > To conclude with a normal form Gerhards project template works just fine.
> > It works fine with mojarra in either case. With Myfaces and
> > enctype="multipart/form-data" it does not work.
> >
> > I tried this several times with the same result.
> >
> > Deltaspike and Myfaces is what's in common with my normal stack. No
> > Primefaces needed for reproduce
> >
> > cheers
> >
> >
> >
> >
> >
> >
> >
> > On 4 March 2014 14:58, Karl Kildén <karl.kil...@gmail.com> wrote:
> >
> > > Well for me it breaks the form completely. Even if I have only a single
> > > component <h:commandButton/> it's broke. Adding the primefaces
> parameter
> > > has no effect. I will try to put a test application together
> > >
> > >
> > > On 4 March 2014 14:17, Leonardo K. Shikida <shik...@gmail.com> wrote:
> > >
> > >> Karl
> > >>
> > >> I haven't tested it, but Howard figured out that it may be a
> primefaces
> > >> problem in their autodetection algorithm
> > >>
> > >> I haven't tested myself yet, but it seems it's just a matter of adding
> > >> this
> > >> parameter explicitly
> > >>
> > >> <context-param>
> > >> <param-name>primefaces.UPLOADER</param-name>
> > >>   <param-value>commons</param-value>
> > >> </context-param>
> > >>
> > >> best regards
> > >>
> > >> Leo
> > >>
> > >>
> > >> []
> > >>
> > >> Leo
> > >>
> > >>
> > >> On Tue, Mar 4, 2014 at 4:37 AM, Karl Kildén <karl.kil...@gmail.com>
> > >> wrote:
> > >>
> > >> > Leo,
> > >> >
> > >> > I have the same problem, What's your status?
> > >> >
> > >> > cheers
> > >> >
> > >> >
> > >> > On 22 February 2014 02:58, Leonardo K. Shikida <shik...@gmail.com>
> > >> wrote:
> > >> >
> > >> > > Hi
> > >> > >
> > >> > > Just noticed this thread about tomee, myfacs 2.2.0 and multipart
> > >> request
> > >> > >
> > >> > >
> > >> > >
> > >> >
> > >>
> >
> stackoverflow.com/questions/21948228/how-to-get-jsf-file-upload-to-work-on-tomee-1-6
> > >> > >
> > >> > > does anyone know if between 2.1.13 and 2.2.0, multipart request
> has
> > >> got
> > >> > any
> > >> > > new bug? could not find anything in JIRA
> > >> > >
> > >> > > the guy who posted the stackoverflow question tested with
> > >> > >
> > >> > > h:commandButton while I've reproduced the problem just switching
> > >> > > myfaces jars from vanilla tomee 1.6.0 from 2.1.13 to 2.2.0 and
> using
> > >> > > p:fileUpload
> > >> > >
> > >> > > []
> > >> > >
> > >> > > Leo
> > >> > >
> > >> >
> > >>
> > >
> > >
> >
>

Reply via email to