In my original message, I said I wanted to avoid a javascript solution.  It
doesn't lend itself to reuability, e.g. if I have multiple submit buttons or
specialized submit buttons.  A more cumbersome solution, in my opinion.


rmattler wrote:
> 
> You could do it with javascript.  Disable the button and change the button
> label.
> 
> function saveForm(btn) {
>       eForm = document.forms[0];
>       btn.disabled=true;
>               btn.value='Please wait...';
>               eForm.submit();
>               return;
>       
> }
> 
> <input type="button" onclick="saveForm(this);
> setIsDocBeingSubmitted(true);" name="submitButtonName" value="Save" />
> 

-- 
View this message in context: 
http://www.nabble.com/Double-submit-problem-tp15957979p15988774.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to