title: actionListener doesn't works jsf and primefaces
body: <p>I have one .xhtml file with primefaces and have one form with one commandButton when try to fire the actionListener doesn't works this is the form:</p>
  
  <pre><code>&lt;h:form id="formCreate"&gt;
                  &lt;p:dialog header="Crear" widgetVar="usuarioDlgCreate" resizable="false" id="usuDlgCreate"  
                            showEffect="fade" hideEffect="explode" modal="true"&gt;  
  
                      &lt;h:panelGrid id="display" columns="2" cellpadding="4" style="margin:0 auto;"&gt;  
  
                          &lt;h:outputText value="Rol:" /&gt;  
                          &lt;p:inputText value="#{usuarioBean.usuarioSeleccionado.rolId}"/&gt;  
  
                          &lt;h:outputText value="Nombre:" /&gt;  
                          &lt;p:inputText value="#{usuarioBean.usuarioSeleccionado.nomUsuario}"/&gt;  
  
  
                          &lt;h:outputText value="Email:" /&gt;  
                          &lt;p:inputText value="#{usuarioBean.usuarioSeleccionado.email}" size="30"/&gt;  
  
                          &lt;f:facet name="footer"&gt;
                              &lt;p:separator/&gt;
                              &lt;p:commandButton id="btnNewAccept" actionListener="#{usuarioBean.create(actionEvent)}" title="Guardar" value="Guardar"/&gt;  
                              &lt;p:commandButton id="btnNewCancel" oncomplete="usuarioDlgCreate.hide()" icon="ui-icon-new" title="Cancelar" value="Cancelar"/&gt;  
                          &lt;/f:facet&gt;
                      &lt;/h:panelGrid&gt;  
  
                  &lt;/p:dialog&gt;  
  
              &lt;/h:form&gt;
  </code></pre>
  
  <p>and this is my bean method:</p>
  
  <pre><code>public void create(ActionEvent actionEvent) {
     UsuarioDao usuarioDao = new UsuarioDaoImplements();
     String msg = null;
     if(usuarioDao.create(this.usuarioSeleccionado)) {
         msg = "Información guardada correctamente";
     } else {
         msg = "No ha sido posible almacenar la información";
     }
  
      FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO, msg, null);
      FacesContext.getCurrentInstance().addMessage(null, message);
  }
  </code></pre>
  
  <p>already tried with the button like:
    </p>
  
  <p>and the method without the parameter ActionEvent:</p>
  
  <p>  </p>
  
  <p>and like this too(without parenthesis):
   </p>
  
  <p>but doesn't fire the method, pleas help me.... thanks a lot</p>