Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-3491

Standard portlet CSS class name rendering for h:message and h:messages

    Details

      Description

      The Portlet Specification defines the following CSS class names for the portlet container to supply via CSS style
      sheets:

      • portlet-msg-alert
      • portlet-msg-error
      • portlet-msg-info
      • portlet-msg-status
      • portlet-msg-success

      This feature provides developers with a way to rely on standard CSS class names for styling text base elements.

      The JSF Specification defines the h:message and h:messages component tags that developers can use to provide
      feedback to the user. The FacesBridge must ensure that the errorClass, fatalClass, infoClass, and warnClass
      attribute values are appended with the standard portlet CSS class names according to the following mapping:

      UIComponent Attribute Portlet CSS Class
      errorClass portlet-msg-error
      fatalClass portlet-msg-error
      infoClass portlet-msg-info
      warnClass portlet-msg-alert

        Attachments

          Activity

            People

            • Assignee:
              neil.griffin Neil Griffin
              Reporter:
              neil.griffin Neil Griffin
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package
                facesbridge-tck-5.0.0
                facesbridge-spec-5.0.0
                bridge-impl-5.0.0