Re: Why PopupCloseLink doesn't close my popup?

2008-03-05 Thread Gin Yeah
Ok, I got it. I need to call super.onClick(). Thanks! On Wed, Mar 5, 2008 at 10:22 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > ok, but do you see javascript errors after you press the link? because > that outputs a window.close() javascript to close the window... > > -igor > > > On Wed, Mar

Re: Why PopupCloseLink doesn't close my popup?

2008-03-05 Thread Gin Yeah
How to see Javascript error? Something to turn on in the browser? On Wed, Mar 5, 2008 at 10:22 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > ok, but do you see javascript errors after you press the link? because > that outputs a window.close() javascript to close the window... > > -igor > > > O

Re: Why PopupCloseLink doesn't close my popup?

2008-03-05 Thread Igor Vaynberg
ok, but do you see javascript errors after you press the link? because that outputs a window.close() javascript to close the window... -igor On Wed, Mar 5, 2008 at 9:03 PM, Gin Yeah <[EMAIL PROTECTED]> wrote: > There is no Javascript generated at the browser end at all: > >wicket:id="closeLi

Re: Why PopupCloseLink doesn't close my popup?

2008-03-05 Thread Gin Yeah
There is no Javascript generated at the browser end at all: Close The popup is open with this: Java: PopupSettings ps = new PopupSettings() .setHeight(200) .setWidth(100) .setTop(50) .setLeft(200) .setWindowName("Salumonunu");

Re: Why PopupCloseLink doesn't close my popup?

2008-03-05 Thread Igor Vaynberg
any javascript errors in your browser? is the popupcloselink inside the popup window - which is another window that is NOT a modal window...? -igor On Wed, Mar 5, 2008 at 4:28 PM, MYoung <[EMAIL PROTECTED]> wrote: > > I must be doing it wrong. I have this in my popup template: > >

Why PopupCloseLink doesn't close my popup?

2008-03-05 Thread MYoung
I must be doing it wrong. I have this in my popup template: Close In java: add(new PopupCloseLink("closeMe") { @Override public void onClick() { // HERE HERE } }); onClick() is called but the popup window stays. Another question, how to get no