Who can explain the following behaviour? When disabling a command button in JavaScript, the action method is never executed.
Try to disable the button from the BackBean using the property "disabled" of the component
disabled="#{!(bean.disable)}"
This option will work when the component is rendered, after the information sent