Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-1059

Improve rich:message to show only certain category of messages

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Optional
    • Resolution: Done
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.3, 3.2.0
    • Component/s: None
    • Labels:
      None

      Description

      I'd like to be able to display a red box for error messages, green for info and so on. The problem is that since rich:messages shows every message I can't make different boxes.

      I tried a workaround by hiding content, but it renders several empty boxes. I put four boxes, one for each level, and in each box only one kind of message is shown. For example, in the 'error box', warnClass, infoClass and fatalClass were 'hidden' (.hidden

      { display: none; }

      ). That solution is not good enough, since every box is rendered.

        Gliffy Diagrams

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              ayanul Aleksej Yanul
              Reporter:
              juanignaciosl Juan Ignacio Sánchez Lara
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development