This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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
Similar Threads
Disabling html:text in Struts dynamically
Disabling all controls
disable text box
Need usage help for getDocumentById