I would like to open an URL via SSJS via an xp:button e.g. via:
var extCont = facesContext.getExternalContext();
extCont.redirect("myURL");
but this opens the URL in the same window/tab. I would like to open it in a new window.
I can not use the xp:link element because I want to have an icon in it. It seems my icon gets the css applied for an anchor element (blue color) and even the .btn-link class.