1 Reply Latest reply on Feb 17, 2008 10:18 AM by ilya_shaikovsky

    rich messages markers

    jmiguel77

      Hi

      i would like to know if there is any way to set a unique image for info, warn, error, etc. in the rich:messages component

      I mean, i have this

      <rich:messages id="messagesPanel" showDetail="false"
       styleClass="#{notificacionExternaController.messagesStyleClass}">
       <f:facet name="errorMarker">
       <h:graphicImage url="/img/errorGrande.gif" />
       </f:facet>
       <f:facet name="infoMarker">
       <h:graphicImage url="/img/infoGrande.gif" />
       </f:facet>
       <f:facet name="warnMarker">
       <h:graphicImage url="/img/advertenciaGrande.gif" />
       </f:facet>
       </rich:messages>
      


      But that shows the image for each one error displayed

      I have to show just one image for the whole messages component. Is there any easy way to acomplish this ?? or i will have to do it manually ???

      thanks a lot

        • 1. Re: rich messages markers
          ilya_shaikovsky

          Unfortunatelly, you should perform this yourself. How do you expect we should render one image? only error image or only info? There are messages of all types displayed and we render corresponding icons for every message.