Hi,

I've a WicketPage implementation to which I've added
AjaxNewWindowNotifyingBehavior, as shown below

public class MyPage extends WicketPage {
    public MyPage() {
       add(new AjaxNewWindowNotifyingBehavior() {
                 protected void onNewWindow(AjaxRequestTarget target) {
                     setResponsePage(NotSupportedPage.class);
                 }
        });
    }
   .....
}

but onNewWindow() never gets called when I open a link in a new Tab/Window,
I checked the generated value for 'window.name' it is same for both
tabs/windows.

Is there anything else I need to do?

Regards,
Rakesh.A



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Problem-with-window-name-generated-using-AjaxNewWindowNotifyingBehavior-in-wicket-6-5-0-tp4658703.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to