Use a windowclosedcallback.
Something like this should do the trick
modalwindow.setWindowClosedCallback(new WindowClosedCallback()
{
private static final long serialVersionUID = 1L;
@Override
public void onClose(AjaxRequestTarget target)
{
target.addComponent(parentPage);
}
});
Maurice
On Thu, Feb 21, 2008 at 1:17 PM, JohnSmith333
<[EMAIL PROTECTED]> wrote:
>
> My wicket program also have the same question. Could anyone kindly help us?
> Thanks
>
>
>
>
> Edvin Syse wrote:
> >
> > Hi,
> >
> > I have a Link with PopupSettings to open another window, and then there is
> > a PopupCloseLink on the new page which closes the popupwindow
> > again. Is there a way to make the "parent" browserwindow refresh when I
> > close the popupwindow also?
> >
> > Using ModalWindow makes this easy but I cannot have a ModalWindow in this
> > usecase.
> >
> > -- Edvin
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/How-can-I-refresh-a-%22parent%22-Page-after-using-PopupCloseLink-in-a-popup-window--tp15574066p15608933.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]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]