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
AJAX behavior on h:selectOneListbox ignored with 2.2.M1
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
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.
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
Thanks, makes sense. FWIW, it doesn't work with 2.0.3 either.
Cheers,
Daniel
Cheers,
Daniel
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?
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
-
- Information
-
Who is online
Users browsing this forum: No registered users and 13 guests