How to open new browser window using icefaces?
How to open new browser window using icefaces
JavascriptContext.addJavascriptCall(FacesContext.getCurrentInstance(), "window.open('printerFriendly.html','Print','width=300','height=200','menubar=yes','status=yes','location=yes','t开发者_高级运维oolbar=yes','scrollbars=yes')");
but not able to open the page, please help me
Why don't you use plain vanilla html?
<a href="printerFriendly.html" target="_blank">Print</a>
精彩评论