6 Replies Latest reply on Feb 7, 2011 12:42 AM by Ilya Sorokoumov

    JSF messages error

    Richfacesfan Fanatic Newbie

      hi i have a richfaces application, the login page execute a action method in managed bean, for error the method execute this code:

       

       

                  System.out.println("FALLO SALIENDO USUARIO NO ENCONTRADO");
                  FacesMessage message = new FacesMessage("Usuario invalido!!");
                  FacesContext context = FacesContext.getCurrentInstance();
                  context.addMessage(boton.getClientId(context), message);
      
      

       

      in the page i have :

       

       

      rich:message id="mensaje" for="boton"

       

      the message show in the rich:message but in the botton of page too, double !!

      please help??

      regard

      richfaces fan

      Sin título.png