I am having an issue where I have several p:selectOneMenu 's in a single form where they are required=true.
If I leave them all blank/novalue, and then perform an ajax process of @form and update of @form via a p:commandButton, validation fails and the menus are still functional. If I then press the command button again for a second validation failure, several of the selectOneMenu are no longer functional. When I press the selectoneMenu, I can see it is displaying 2 drop downs. The working drop down is rendered under a non-working drop down.
This behavior does not occur with PF 6.1, although I am having a hard time producing a test case using the PF Test application.
Other notes:
- I can confirm if ajax="false" on the command button, everything works as expected.
- I can also confirm the exact same HTTP request and HTTP response payloads are observed for both ajax request associated with the command button press. So it appears to be a client side processing issue?
- If I place a p:log element inside the form, 2 p:log elements are rendered after the first ajax request.
This seems very similar to viewtopic.php?p=163533#p163533 / https://github.com/primefaces/primefaces/issues/3167
UI Components rendered twice after ajax update - PF 6.2 RC1
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
If you can replicate it in a simple sample, feel free to create a issue.
Thomas Andraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
I think i fixed it last week. Try a build from source.
Thomas Andraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
-
- Information
-
Who is online
Users browsing this forum: Google [Bot] and 46 guests