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

          Philip Breau created issue -
          Philip Breau made changes -
          Field Original Value New Value
          Support Case References https://www.icesoft.ca:4443/supportilla/show_bug.cgi?id=4176
          Support Customer Ref. #s 713
          Philip Breau made changes -
          Assignee Adnan Durrani [ adnan.durrani ]
          Ken Fyten made changes -
          Link This issue blocks ICE-1114 [ ICE-1114 ]
          Adnan Durrani made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Ken Fyten made changes -
          Fix Version/s 1.6.1 [ 10070 ]
          Ken Fyten made changes -
          Assignee Adnan Durrani [ adnan.durrani ] Yip Ng [ yip.ng ]
          Ken Fyten made changes -
          Assignee Yip Ng [ yip.ng ] Adnan Durrani [ adnan.durrani ]
          Hide
          Adnan Durrani added a comment -

          Message and Message component has been fixed: revision 14592

          Show
          Adnan Durrani added a comment - Message and Message component has been fixed: revision 14592
          Adnan Durrani made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Adnan Durrani added a comment -

          ice:message and ice:messages

          Show
          Adnan Durrani added a comment - ice:message and ice:messages
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Adnan Durrani [ adnan.durrani ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: