Page 2 of 2

Re: file upload listener not call in primefaces 3.0M1

Posted: 18 Apr 2011, 12:45
by rider
You say: in simple mode it works?
This is the code which you posted in your last comment?
But you say:
"but I have same problem in advanced mode."
What´s the SAME problem?

Re: file upload listener not call in primefaces 3.0M1

Posted: 18 Apr 2011, 19:18
by craig
I guess the same problem is....

The fileUploadListener is never called in advanced mode

Re: file upload listener not call in primefaces 3.0M1

Posted: 19 Apr 2011, 07:12
by zorro6064
my code (written above), works in simple mode and listener call but in advanced mode, listener don't call

do you have any suggestion?

Re: file upload listener not call in primefaces 3.0M1

Posted: 19 Apr 2011, 10:09
by craig
I've got it to work!!!

If you add

Code: Select all

<Loader delegate="true" />
to your context.xml in META-INF the listener gets called.

Although if you have two contexts deployed (I have the showcase deployed too) neither will work, you can only have one app deployed with this setting. I'm using jboss 6 Final

Can someone explain what this is actually specifying?

Many thanks

Craig

Re: file upload listener not call in primefaces 3.0M1

Posted: 05 May 2011, 18:09
by sebastianovide
I have the same problem with Glassfish 3.0.1... actually mine is worst than yours as if I use <Loader delegate="true" /> Glassfish would not start at all !

Re: file upload listener not call in primefaces 3.0M1

Posted: 20 May 2011, 15:51
by s.onal
thanks zorro i have same problems in advanced mode with 3.0, i figured out that i can use simple mode.. and i am using now.

Re: file upload listener not call in primefaces 3.0M1

Posted: 09 Jun 2011, 16:48
by dabiddd
So, advanced mode doesn't fire UploadListener event on primefaces 3.0M1?