[richfaces-issues] [JBoss JIRA] Commented: (RF-10169) Panel Menu - propagate top{Group, Item}* customization attributes to their regular equivalent
Pavol Pitonak (JIRA)
jira-events at lists.jboss.org
Mon Jan 10 10:32:49 EST 2011
[ https://issues.jboss.org/browse/RF-10169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574382#comment-12574382 ]
Pavol Pitonak commented on RF-10169:
------------------------------------
Aren't the following two tags the same from EL's point of view?
<rich:panelMenu groupClass="myClass" />
<rich:panelMenu groupClass="myClass" topGroupClass="" />
> Panel Menu - propagate top{Group,Item}* customization 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
More information about the richfaces-issues
mailing list