title: JSF h:button or Primefaces p:button - target _blank
body: <p>How can I set _blank as target of a h:button or p:button?</p>
  
  <p>Right now I have a simple link:</p>
  
  <pre><code>&lt;h:outputLink value="#{bean.url}" target="_blank"&gt;
   &lt;h:outputText value="Link" /&gt;
  &lt;/h:outputLink&gt;
  </code></pre>
  
  <p>But I wanted it to look like a button (a primefaces styled button if possible) so I decided to change it by a p:button.</p>
  
  <pre><code>&lt;p:button value="Link" href="#{bean.url}" /&gt;
  </code></pre>
  
  <p>But now I can't set the target value as I want.</p>
  
  <p>Does anybody has an idea?</p>