[richfaces-issues] [JBoss JIRA] Created: (RF-7394) panelMenu: iconGroupPosition attribute applies incorrectly
Inna Shchibrya (JIRA)
jira-events at lists.jboss.org
Thu Jun 18 05:59:56 EDT 2009
panelMenu: iconGroupPosition attribute applies incorrectly
----------------------------------------------------------
Key: RF-7394
URL: https://jira.jboss.org/jira/browse/RF-7394
Project: RichFaces
Issue Type: Bug
Components: component-menu
Affects Versions: 3.3.2.CR1
Environment: All browsers
Reporter: Inna Shchibrya
Assignee: Nick Belaevski
1. Add rich:panelMenu with rich:panelMenuGroup which contained other panelMenuGroup on the page.
2. Set iconCollapsedGroup="triangle", iconExpandedGroup="triangleUp" and iconGroupPosition="right".
3. Open the page. --> iconCollapsedGroup and iconExpandedGroup are applied to all panelMenuGroups but iconGroupPosition is applied to nested panelMenuGrou only. See attachment.
For example:
<rich:panelMenu id="myPanel" iconCollapsedGroup="triangle"
iconExpandedGroup="triangleUp" iconGroupPosition="right" width="400">
<rich:panelMenuGroup label="Group 1(expanded=true)" expanded="true"
id="pmg">
<rich:panelMenuItem label="Item 1" disabled="true"></rich:panelMenuItem>
<rich:panelMenuItem label="Item 1 (action)"
onmousedown="alert('OnMouseDown');"></rich:panelMenuItem>
<rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
<rich:panelMenuGroup label="Group 1_3">
<rich:panelMenuItem label="Item 1_3_1"></rich:panelMenuItem>
<rich:panelMenuItem label="Item 1_3_1"></rich:panelMenuItem>
</rich:panelMenuGroup>
</rich:panelMenuGroup>
</rich:panelMenu>
If rich:panelMenuGroup doesn't contain other panelMenuGroups iconGroupPosition isn't applied.
Expected result: iconGroupPosition should be applied for all panelMenuGroups.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list