There is a way that should also work in recent 1.x. To disable the
confirmation dialog you need to put this inside the page with modal
window:
<script type="text/javascript">
  Wicket.Window.unloadConfirmation=false;
</script>

-Matej

On 5/9/07, Arnout Engelen <[EMAIL PROTECTED]> wrote:
> dukejansen schreef:
> > My Ajax event handler needs to first close the current modal window and 
> > then refresh the entire page. Is there a better way to do this?
> >
> I once worked around something like this by putting the redirect in the
> windowClosedCallback of the ModalWindow. That was sufficient in our
> case, but I too would be interested in some more enlightenment in this
> area :).
>
>
> Arnout
>
> -------------------------------------------------------------------------
> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to