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.