1 2 Previous Next 24 Replies Latest reply on Oct 17, 2007 6:05 AM by juanignaciosl

    rich:messages when no messages at all

    juanignaciosl

      I want rich:messages to display a container red box for error messages (not only a list with the errors, but also a surrounding red box). I'm trying this:

      <rich:messages infoClass="hidden" fatalClass="hidden" warnClass="hidden" styleClass="error message" />


      This works ok when there're messages, but also displays an empty red box when there are no messages.

      How can I solve this?

        1 2 Previous Next