p:commandButton suddenly stopped working across the app

UI Components for JSF
Post Reply
smallya
Posts: 264
Joined: 19 Mar 2010, 19:22
Contact:

04 Aug 2010, 20:52

Hi
I had used p:commandButton across lots of pages in my application and it was working just great. Then suddenly midway through last week one p:commandButton stopped doing form submit. The method specified in action was not being invoked. I changed it to h:commandButton and things seem to work fine with the loss of (ajax) update attribute.

I saw no error messages in the log when the p:commandButton form submit was done to tell me something is going wrong. It was dying a silent death. Now today I started getting that issue in p:menuButton - no form submit and no error.

In the interest of time I left it to be diagnosed later. Now I find across my application all p:commandButtons do not seem to work. I am on the latest 2.2 RC1 drop 70. Has anyone else run into this issue?

I have banged my head on this for two days with no luck. Appreciate any insights.
Netbeans 7.2| GlassFish 3.2 | PostgreSQL 9.1| MongoDB | Primefaces 3.4.2
_______________________________________________________________
Subraya Mallya
http://tinyhabit.com |http://twitter.com/tinyhabit

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

04 Aug 2010, 20:55

You are using a unstable snapshot of 2.2.

smallya
Posts: 264
Joined: 19 Mar 2010, 19:22
Contact:

04 Aug 2010, 21:05

Cagatay
Thanks for the pointer
I was PrimeFaces 2.1 when this problem first came so I upgraded to see if things might have changed with JSF 2.0 API migration that you guys were doing.
Netbeans 7.2| GlassFish 3.2 | PostgreSQL 9.1| MongoDB | Primefaces 3.4.2
_______________________________________________________________
Subraya Mallya
http://tinyhabit.com |http://twitter.com/tinyhabit

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

04 Aug 2010, 22:41

If this mystery happened when using 2.1 then I have no explanation :)

timotius_pamungkas
Posts: 117
Joined: 19 May 2010, 03:50

05 Aug 2010, 02:35

same thing occurs to my app. I don't know the pattern, but it seems occur for button on container like wizard, during unsuccessful ajax submit (e.g. due to some input componet ge h:validateLongRange).
Tomcat 7.0.25
Mojarra 2.1.6
Primefaces 3.1, 3.2
Firefox 10 and IE 7/IE 8

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

05 Aug 2010, 12:55

If you can come up with a scenario we'll try to replicate to find out the issue.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 41 guests