5 Replies Latest reply on Jul 30, 2009 7:46 AM by nbelaevski

    INFO: WARNING: FacesMessage(s) have been enqueued, but may n

      Hi,

      I am using rich:message component of richFaces to display error message on a modal Panel. The Panel is being submitted via AJAX button. a4j:commandButton.

      The control moves to the Backing bean correctly. I record the messages and return on the Modal Panel. However, the message is not displayed and on Eclipse console, i get
      INFO: WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.

      Please Help.


      Here is the xhtml code

       <rich:modalPanel id="addPanel" autosized="true" width="450">
       <f:facet name="header">
       <h:outputText value="Add New Test" />
       </f:facet>
       <f:facet name="controls">
       <h:panelGroup>
       <h:graphicImage value="../images/table/close.gif" id="hidelink3" styleClass="hidelink"/>
       <rich:componentControl for="addPanel" attachTo="hidelink3" operation="hide" event="onclick" />
       </h:panelGroup>
       </f:facet>
       <h:form>
       <h:panelGrid columns="1">
       <a4j:outputPanel ajaxRendered="true">
       <h:panelGrid columns="3">
       <h:outputText value="Department Id"/>
       <h:inputText value="#{testBean.currentObject.testId}" id="currenttestId" label="test Id"/>
       <rich:message id="currenttestIdError" for="currenttestId" style="color: red; font-weight:bold">
       <f:facet name="errorMarker">
       <h:graphicImage value="../images/messages/error.gif" />
       </f:facet>
       </rich:message>
       <h:outputText value="Department Name" />
       <h:inputText value="#{testBean.currentObject.testName}" id="currenttestName" label="test Name"/>
       <rich:message id="currenttestNameError" for="currenttestName" style="color: red; font-weight:bold">
       <f:facet name="errorMarker">
       <h:graphicImage value="../images/messages/error.gif" />
       </f:facet>
       </rich:message>
       </h:panelGrid>
       </a4j:outputPanel>
       <a4j:commandButton value="Add"
       action="#{testBean.add}"
       reRender="testTable"
       oncomplete="if (#{facesContext.maximumSeverity==null}) #{rich:component('addPanel')}.hide();" />
       </h:panelGrid>
       </h:form>
       </rich:modalPanel>