ICEfaces
  1. ICEfaces
  2. ICE-1888

Messages renderer shouldn't render empty ul tags

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      any

      Description

      The messages renderer will always render a pair of <ul></ul> tags, regardless of
      whether there is a FacesMessage or not. When there isn't a FacesMessage, and an
      empty ul is rendered the page will not pass xhtml validation which specifies
      that a ul tag always has to have a child. In the renderer we should check for the size of the Faces Messages list, and if it's zero not render the ul tag.

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Philip Breau
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: