You should use AjaxSubmitButton and submit the form using Ajax.

-Matej

On 5/17/07, Nikhil Gahlot <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
>     I am using Modal Window with a form. But whenever I click Submit button
> on this window to submit a form
>     I am getting an alert message "Are you sure you want to navigate away
> from this page? Reloading this page will cause the modal window disappear.
> Press OK to continue, or Cancel to stay on the current page".
>     Now I want to prevent this alert message from getting displayed. Is
> there any way to do that?
>
> Thanks
> Nikhil
> --
> View this message in context: 
> http://www.nabble.com/Modal-window-warning-message-tf3770780.html#a10661044
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to