title: Prevent h:Commandbutton from submitting form
body: <p>I have a form and two commandbuttons embedded in it as shown.</p>
  
  <pre><code>&lt;h:commandButton label="Submit" type="button" 
      image="resources/images/Save4.jpg" 
      actionListener="#{userController.createNewUser()}" /&gt; 
  
  &lt;h:commandButton label="Home" 
      image="resources/images/Save4.jpg" 
      action="/index.jsf?faces-redirect=true" /&gt; 
  </code></pre>
  
  <p>Clicking on Home button should redirect to index.jsf but it causes form submission. I dont want to put the home command in another form tag as it will cause UI Distortion. Please suggest a way out.</p>