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>
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.