title: How to create h:commandButton in JSF to open a new page
body: <p>I want to create command button in JSF page. When I press it I want to open a new page and send a value using using the http. I tested this <code>h:commnadButton</code> but it's not working.</p>
  
  <pre><code>&lt;h:commandButton id="lnkHidden" value=" Edit User " action="EditAccountProfile.jsf"&gt;
   &lt;f:param name="id" value="#{item.userid}" /&gt;
  &lt;/h:commandButton&gt;
  </code></pre>