[
https://jira.jboss.org/jira/browse/RF-7394?page=com.atlassian.jira.plugin...
]
Inna Shchibrya closed RF-7394.
------------------------------
Assignee: Nick Belaevski (was: Tsikhon Kuprevich)
Closed.
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
Attachments: panelMenu_icons_position.png
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 or
iconCollapsedGroup and iconExpandedGroup should not be applied to top 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