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: lt;a

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: a href=?wicket:interface=Salumonunu:0:closeLink::ILinkListener:: wicket:id=closeLinkClose/a The popup is open with this: Java: PopupSettings ps = new PopupSettings() .setHeight(200) .setWidth(100)

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: a

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 On Wed,

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 5, 2008