You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mick Knutson <mi...@safeway.com> on 2005/11/15 19:41:16 UTC

best way to add a confirmation dialog when submitting a struts form?

I have a dispatchAction form that is submitted, and I want to show a
confirmation (ok/cancel) dialog when I click submit.

What is the best struts way to do this please?


"MMS <safeway.com>" made the following annotations.
------------------------------------------------------------------------------
Warning: 
All e-mail sent to this address will be received by the Safeway corporate e-mail system, and is subject to archival and review by someone other than the recipient.  This e-mail may contain information proprietary to Safeway and is intended only for the use of the intended recipient(s).  If the reader of this message is not the intended recipient(s), you are notified that you have received this message in error and that any review, dissemination, distribution or copying of this message is strictly prohibited.  If you have received this message in error, please notify the sender immediately. 
  
==============================================================================

Re: best way to add a confirmation dialog when submitting a struts form?

Posted by Michael Jouravlev <jm...@gmail.com>.
On 11/15/05, Mick Knutson <mi...@safeway.com> wrote:
> I have a dispatchAction form that is submitted, and I want to show a
> confirmation (ok/cancel) dialog when I click submit.
>
> What is the best struts way to do this please?

onSubmit attribute of
http://struts.apache.org/struts-taglib/tagreference-struts-html.html#form

Michael.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org