On Tue, Sep 7, 2010 at 11:35 PM, Alec Swan <alecs...@gmail.com> wrote:

> Hello,
>
> I would like to have an upload form
> (org.apache.wicket.markup.html.form.Form) to prompt the user to
> confirm their upload decision. I tried attaching a new
> AjaxEventBehavior("onsubmit") to the form, but it does not get called.
>
> How can I prompt the user when they initiate the upload?
>
> Thanks,
>
> Alec
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
regular old javascript?

<form onsubmit="confirm('foo')" wicket:id="form">
....
</form>

-- 
Jeremy Thomerson
http://www.wickettraining.com

Reply via email to