This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes JSF and the fly likes How to disable a4j:commandButton Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "How to disable a4j:commandButton" Watch "How to disable a4j:commandButton" New topic

How to disable a4j:commandButton

ya ji
Ranch Hand

Joined: Jul 14, 2008
Posts: 40
I set disabled="true", but it doesn't work.

<a4j:commandButton action="#{MyBean.create}" disabled="true" limitToList="true" value="Add" styleClass="searchBtn" id="btnAdd" />
I agree. Here's the link:
subject: How to disable a4j:commandButton
It's not a secret anymore!