[ 
https://issues.jboss.org/browse/RF-10169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukas Fryc updated RF-10169:
----------------------------

    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




  was:
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






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

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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to