AJAX behavior on h:selectOneListbox ignored with 2.2.M1

Components, Ajax Framework, Utilities and More.
Post Reply
Posts: 7
Joined: 21 May 2010, 15:36

09 Sep 2010, 10:48


Anybody else getting the bizarre error that a p:ajax (or f:ajax) behavior inside a h:selectOneListbox gets ignored entirely since an upgrade to 2.2.M1 (it worked with 2.1)? No Javascript handlers are rendered for the select component, so it seems that the AJAX behaviour renderer isn't called at all.

It works with h:selectOneMenu (as in the showcase: http://www.primefaces.org/showcase/ui/pprSelect.jsf), so that's a workaround. I'm using Mojarra 2.0.2 on Glassfish 3.0.1.


User avatar
Posts: 17556
Joined: 05 Jan 2009, 00:21
Location: Cybertron

09 Sep 2010, 11:03

If f:ajax is ignored then it is a bug of mojarra. Have you tried with 2.0.3 of mojarra, you can compare with myfaces 2.0.1 to test.

p:ajax is a client behavior now as it should be like f:ajax, it was a uicomponent before.

Posts: 7
Joined: 21 May 2010, 15:36

10 Sep 2010, 10:16

Thanks, makes sense. FWIW, it doesn't work with 2.0.3 either.


User avatar
Expert Member
Posts: 3803
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

10 Sep 2010, 16:26


If I see right, it cannot be an issue of Mojarra. I also have h:selectOneListbox and tried p:ajax and f:ajax with PF 2.0.2 and Mojarra 2.0.2 / 2.0.3. It works. You say it doesn't work with the same Mojarras, but the other PF 2.2.M1.

Conclusion? :-)
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

Posts: 102
Joined: 25 Oct 2010, 04:45

23 Aug 2011, 01:09

Was this ever resolved? I am having the same problem on current 2.2.1.
Netbeans 7.1, GlassFish 3.1.1, MacOS X 10.6.8, Safari, Firefox

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 13 guests