<h:commandLink action="#{bean.preparePreview}" onclick="window.open('../note/note.faces', 'popupWindowName', 'dependent=yes, menubar=no, toolbar=no, height=450, width=700');return false;">
In above code action is not invoked. only pop is shown. Can you help me what is the problem?