file upload listener not call in primefaces 3.0M1

UI Components for JSF
rider
Posts: 497
Joined: 05 Mar 2010, 13:17

18 Apr 2011, 12:45

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?
Primefaces 12.0, WildFly 21

craig
Posts: 21
Joined: 04 Oct 2010, 16:09

18 Apr 2011, 19:18

I guess the same problem is....

The fileUploadListener is never called in advanced mode

User avatar
zorro6064
Posts: 59
Joined: 01 Mar 2011, 16:20

19 Apr 2011, 07:12

my code (written above), works in simple mode and listener call but in advanced mode, listener don't call

do you have any suggestion?

craig
Posts: 21
Joined: 04 Oct 2010, 16:09

19 Apr 2011, 10:09

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

sebastianovide
Posts: 90
Joined: 19 Dec 2010, 17:08

05 May 2011, 18:09

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 !

s.onal
Posts: 3
Joined: 11 May 2011, 15:18

20 May 2011, 15:51

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.
Netbeans 7.0 / PrimeFaces 3.0M2 /GlassFish 3.0.1 /Ubuntu 9.x

dabiddd
Posts: 6
Joined: 02 Jun 2011, 16:36

09 Jun 2011, 16:48

So, advanced mode doesn't fire UploadListener event on primefaces 3.0M1?

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 28 guests