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:

open url in new tab (and not new window) using javascript


Comments

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -