[richfaces-issues] [JBoss JIRA] Created: (RF-10169) Panel Menu - propagate top{Group, Item}* attributes to their regular equivalent

Lukas Fryc (JIRA) jira-events at lists.jboss.org
Mon Jan 10 10:27:49 EST 2011


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

                 Key: RF-10169
                 URL: https://issues.jboss.org/browse/RF-10169
             Project: RichFaces
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: component-menu
    Affects Versions: 4.0.0.Milestone5
            Reporter: Lukas Fryc


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="" /> - 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




-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list