tags:

views:

110

answers:

1

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','toolbar=yes','scrollbars=yes')"); 

but not able to open the page, please help me

+1  A: 

Why don't you use plain vanilla html?

<a href="printerFriendly.html" target="_blank">Print</a>
pakore