This content has been marked as final. Show 3 replies
set the property that controls whether the button is enabled or disabled to be based on a boolean variable in a backing bean.
Once the button is pressed set the boolean variable to false.
If you have a changeproperty event on that boolean variable your page should be updated and the button disabled.
What type of component is the Show button? For example, for the tr:commandButton the disabled attribute could be set to true.
Thank you for the answers. First of all my button is amx:commandButton. I couldn't find change event in the component panel. How may i set this event?