This content has been marked as final.
Show 1 reply
-
1. Re: a4j:commandButton disabled delay oncomplete - How?
nt2005 Mar 29, 2012 5:01 PM (in response to nt2005)<a4j:commandButton id="start" value="Start"
action="#{foo.start}"
reRender="panel"
onclick="this.disabled=true" oncomplete="enableStartButton()">
</a4j:commandButton>
<a4j:jsFunction name="enableStartButton" ajaxSingle="true" requestDelay="3000" reRender="start"/>
Got it. Thanks anyway.