title: Command button action not called
body: <p>I have the following situation:</p>
  
  <pre><code>&lt;h:form&gt;
  &lt;h:panelGrid columns="2" cellpadding="5"&gt;
      &lt;p:commandButton id="loginButton" value="Login" ajax="false"
                          action="#{login.loginAction}" /&gt;
  &lt;/h:panelGrid&gt;
  &lt;/h:form&gt;
  </code></pre>
  
  <p>When I click the button, the method loginAction(), from my bean, is executed.</p>
  
  <p>If I have:</p>
  
  <pre><code>&lt;h:form&gt;
  
      &lt;h:panelGrid columns="2" cellpadding="5"&gt;
  
          &lt;h:outputLabel for="username" value="#{labels.UserName}" /&gt;
          &lt;p:inputText value="#{login.username}" id="username"
                                  required="true" /&gt;
  
          &lt;p:commandButton id="loginButton" value="Login" ajax="false"
                          action="#{login.loginAction}" /&gt;
      &lt;/h:panelGrid&gt;
  &lt;/h:form&gt;
  </code></pre>
  
  <p>In this situation,when I press the login button the method loginAction() is not called, and I don't understand why. The setter for the username is called, but the loginAction no.</p>
  
  <p>I am using JSF 2.0, Primefaces 3.3.</p>
  
  <p>Thank you very much.</p>