Re: How can I refresh a "parent" Page after using PopupCloseLink in a popup window?

2008-02-22 Thread Edvin Syse
class mypopupcloselink extends popupcloselink { oncomponenttag(tag) { super.oncomponenttag(tag); tag.put("onclick","window.parent.refresh();"); } } Thanks :) Why didn't I think of this.. arghfl :) -- Edvin - To u

Re: How can I refresh a "parent" Page after using PopupCloseLink in a popup window?

2008-02-21 Thread Igor Vaynberg
class mypopupcloselink extends popupcloselink { oncomponenttag(tag) { super.oncomponenttag(tag); tag.put("onclick","window.parent.refresh();"); } } -igor On Tue, Feb 19, 2008 at 11:24 AM, Edvin Syse <[EMAIL PROTECTED]> wrote: > Hi, > > I have a Link with PopupSettings to open anot

Re: How can I refresh a "parent" Page after using PopupCloseLink in a popup window?

2008-02-21 Thread JohnSmith333
Thanks ! But the modalwindow can't be used in this case. Could anyone know how to use Popup window rather than modal window ? Thanks~ modal window? Mr Mean wrote: > > Use a windowclosedcallback. > Something like this should do the trick > modalwindow.setWindowClosedCallback(new WindowClosedCal

Re: How can I refresh a "parent" Page after using PopupCloseLink in a popup window?

2008-02-21 Thread Maurice Marrink
Use a windowclosedcallback. Something like this should do the trick modalwindow.setWindowClosedCallback(new WindowClosedCallback() { private static final long serialVersionUID = 1L; @Override public void onClos

Re: How can I refresh a "parent" Page after using PopupCloseLink in a popup window?

2008-02-21 Thread JohnSmith333
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 "pare

How can I refresh a "parent" Page after using PopupCloseLink in a popup window?

2008-02-19 Thread Edvin Syse
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