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

Panel Menu - propagate top{Group,Item}* customization attributes to their regular equivalent

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.0.0.Milestone5
    • Fix Version/s: 4.5.12
    • Component/s: component-menu
    • Labels:
      None
    • Affects:
      Documentation (Ref Guide, User Guide, etc.)

      Description

      Currently there are attributes for customizing group and item look-and-feel like classes and icons customization [1].

      Exists also their equivalents for customizing top-level attributes [2].

      But their exist no implicit propagation mechanism from regular settings [1] to their top* equivalents [2] in case that top* ones aren't set.
      Since this is common scenario, we should follow convention-over-configuration and use following options:

      <rich:panelMenu groupClass="myClass" /> - changes the class of groups for both, top- and subsequent elements

      <rich:panelMenu groupClass="myClass" topGroupClass="topClass" /> - changes the class of groups for subsequent elements and changes the class of top-level groups to specific other class

      <rich:panelMenu groupClass="myClass" topGroupClass="" /> - changes the class of groups for subsequent elements, but disable styling for top-elements

      [1]

      groupClass
      groupCollapseIconLeft
      groupCollapseIconRight
      groupDisableClass
      groupDisableIconLeft
      groupDisableIconRight
      groupExpandIconLeft
      groupExpandIconRight
      itemClass
      itemDisableClass
      itemDisableIconLeft
      itemDisableIconRight
      itemIconLeft
      itemIconRight

      [2]

      topGroupClass
      topGroupCollapseIconLeft
      topGroupCollapseIconRight
      topGroupDisableClass
      topGroupDisableIconLeft
      topGroupDisableIconRight
      topGroupExpandIconLeft
      topGroupExpandIconRight
      topItemClass
      topItemDisableClass
      topItemDisableIconLeft
      topItemDisableIconRight
      topItemIconLeft
      topItemIconRight

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  michpetrov Michal Petrov
                  Reporter:
                  lfryc Lukáš Fryč
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: