0 Replies Latest reply on Jul 12, 2011 7:34 AM by soufianetomase

    rich:popupPanel  problem

    soufianetomase Newbie

      Hi,

      Could anyone help me with this problem?

      i have a popupPanel inside a <h:form> tag:

       

      <rich:popupPanel id="messagePanel" modal="false"
      showWhenRendered="#{facesContext.maximumSeverity != null}">
      <h:messages styleClass="error" />
      </rich:popupPanel>

       

      and a link inside the same <h:form> tag :

       

      <h:commandLink styleClass="button" id="link3"
      value="#{msgstableau.validergrille}"
      action="#{saisiePEFTableauBean.valider}" reRender="messagePanel" />

       

      in my code java i try to create a error msg  :

       

      public String valider() throws AbstractBusinessException {

                  FacesMessage facesMsg =

                   new FacesMessage(FacesMessage.SEVERITY_ERROR, null, "MSG......ERROR");

                  FacesContext.getCurrentInstance().addMessage(null, facesMsg);

                  return null;

      }

       

      but i don't know why my popup dont apear ???