title: how to open page in new window NOT tab using h:commandLink?
body: <p>Using Primefaces 4.0 and JSF 2.2.</p>
  
  <p>I would like to send the visitor to a page in a new window (not tab). The landing page is a jsf page called <code>grade.xhtml</code></p>
  
  <p>I tried:</p>
  
  <pre><code>&lt;h:commandLink value="OK" onclick="window.open('grade.html', 'newwindow','width=300, height=300'); return false;"/&gt;
  </code></pre>
  
  <p>This gets to a 404. Obviously this is all happening client side so grade.html doesn't get generated from <code>grade.xhtml</code>. How should I do?</p>
  
  <p>Note: if I put <code>onclick="window.open('grade.xhtml', 'newwindow','width=300, height=300'); return false;"</code> then the page does open, but it is the jsf (xhtml code) not html version that shows up.</p>