p:selectOneMenu dynamic fail to get enabled/disabled with ajax update calls

UI Components for JSF
Post Reply
User avatar
tefron
Posts: 94
Joined: 15 Sep 2010, 23:54
Location: Canada
Contact:

10 Dec 2018, 18:25

1. create a p:selectOneMenu
2. set property dynamic="true"
3. bind property disabled="bean.disabledMenu"
4. bind a p:selectBooleanCheckbox value to "bean.disabledMenu" and add a p:ajax with update to the selectOneMenu

checking and un-checking the checkbox doesn't disable the menu. If you set dynamic="false" it works fine.
PrimeFaces: primefaces-8.0
Mojara2.3
Netbeans8.2
wildfly-17.0.1.Final

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 19 guests