::SammyRulez:: wrote:
not sure but I think

 <h:commandButton value="Add Task"
onclick="window.open('../pages/addTask.faces','popup','height=300,width=200,toolbar=no,menubar=no,scrollbars=yes');"

</h:commandButton>

a target="_new" should do it, but opening popups is calling for trouble, you basically open a can of worms, due to the fact that you do not have
a modal dialog mechanism which works across browsers.
That is one and pretty much the only thing the IE has as significant advantage over all other browsers, that you are able to open modal windows.

As someone pointed out already, before opening popup windows, rather go for a jenia4faces like popup mechanism. This one delivers modal like mechanisms without having to open a new window.

Reply via email to