Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-1006

t:panelNavigation2 does not render separators in list mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.5
    • None
    • Panel Navigation2
    • None

    Description

      example code :

      <t:panelNavigation2 layout="list" separatorClass="MenuHeader" activeItemClass="MenuActive" openItemClass="MenuOpen">
      <h:outputText value="Section 1" />
      <t:commandNavigation2 styleClass="MenuLink">
      <h:outputText value="Menu 1"/>
      <t:commandNavigation2 styleClass="MenuButton">
      <h:outputText value="SubMenu 1"/>
      </t:commandNavigation2>
      </t:commandNavigation2>
      <h:outputText value="Section 2" />
      <t:commandNavigation2 styleClass="MenuButton">
      <h:outputText value="Menu 2"/>
      </t:commandNavigation2>
      </t:panelNavigation2>

      HtmlNavigationMenuRendererUtils.renderChildrenListLayout ignores separators, while renderChildrenTableLayout handles them.

      It's a major issue since I can't propertly address hierarchical menus with CSS in table mode (somehow the sequence of "#160;" just keep getting in the way...)

      Attachments

        Activity

          People

            Unassigned Unassigned
            nlebas Nicolas LE BAS
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: