How to open new tab in java wicket using code -
i have validate code first after clicking on button need open new page new tab in wicket. used target= "_blank" option did't work me.
once have confirmation, can utilize popupsettings open page on different tab:
popupsettings settings = new popupsettings(); settings.settarget(string.format("'%s'", urlfor(anotherpage.class, null))); ajaxrequesttarget.appendjavascript(settings.getpopupjavascript());
update: it's browser though, whether new window or new tab opened:
Comments
Post a Comment