<h:commandButton styleClass="button" id="button_check" onclick="this.disabled=true;this.value='Please wait...';" action="#{pc_AMyBean.doCheckAction}" value="CHECK NOW"/>
this command button executing onclick event , but not calling action. it is JSF 1.2. I mean it is disabling the button but not executing the required action.
How to prevent user from submitting the form twice? if it is order two orders will be raised.
Could please help me.