title: Why is this Ajax Call not Working?
body: <p>Trying to use an ajax request to render a label without refreshing the entire page. So far every time I click the command button the whole page refreshes still and I can't seem to figure out what I am doing wrong.</p>
  
  <p>
      
      
      Search By Title..</p>
  
  <pre><code>&lt;h:commandButton class="addButton" 
                   id="checkStatusButton" 
                   value ="Check Status" 
                   action = "#{itemWeb.findItem}"&gt;
      &lt;f:ajax execute="checkStatusForm" 
              event="click" 
              render="statusLabel"/&gt;
  &lt;/h:commandButton&gt;
  
  &lt;h:outputText id="statusLabel" 
                value="#{itemWeb.foundItem.status}"&gt;
  &lt;/h:outputText&gt;
  </code></pre>
  
  <p></p>