Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to disable a4j:commandButton

 
ya ji
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I set disabled="true", but it doesn't work.

Code:
<a4j:commandButton action="#{MyBean.create}" disabled="true" limitToList="true" value="Add" styleClass="searchBtn" id="btnAdd" />
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic