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
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
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
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");
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:
>
>
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