Board index JavaServer Faces General AJAX behavior on h:selectOneListbox ignored with 2.2.M1

AJAX behavior on h:selectOneListbox ignored with 2.2.M1

Components, Ajax Framework, Utilities and More.


Posts: 7
Hi,

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.

Cheers,
Daniel


Posts: 15059
Location: Cybertron

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.
PrimeFaces Lead


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

Cheers,
Daniel

Oleg User avatar
Expert Member

Posts: 3711
Location: Russia, Siberia => Germany, Black Forest
Hello,

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 4.x, 5.x, Mojarra 2.2.x, JBoss WildFly, WebSphere, Windows 8.1, IntelliJ IDEA
PrimeFaces Cookbook: http://ova2.github.com/primefaces-cookbook/ PrimeFaces Extensions on GitHub: http://primefaces-extensions.github.com/


Posts: 102
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


Return to General