1
<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?

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
venkat
  • 101
  • 3
  • 6

1 Answers1

3

You've a return false; in the end of the onclick function. This will cause that the element's default action won't be invoked. So remove it or rearrange your logic to open the window in the target page only.

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555