[richfaces-issues] [JBoss JIRA] Closed: (RF-3889) rich:panelMenu selectedChild - Not Working
Tatyana Romanovich (JIRA)
jira-events at lists.jboss.org
Thu Aug 7 11:07:54 EDT 2008
[ https://jira.jboss.org/jira/browse/RF-3889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tatyana Romanovich closed RF-3889.
----------------------------------
Default value for expanded of rich:panelMenuGroup component is false. So, all created panelMenuGroups are collapsed. Last created panelMenuGroup is selected
> rich:panelMenu selectedChild - Not Working
> ------------------------------------------
>
> Key: RF-3889
> URL: https://jira.jboss.org/jira/browse/RF-3889
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.1
> Environment: Windows XP Service Pack 3 & JBoss-4.2.2.GA
> Reporter: GANESH LAKSHMANAN
> Assignee: Tsikhon Kuprevich
> Fix For: 3.2.2
>
>
> In rich:panelMenu the "selectedChild" Menu item is not highlighted/Selected/Expanded.
> Code:
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE html
> PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/loose.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:c="http://java.sun.com/jstl/core"
> xmlns:a4j="http://richfaces.org/a4j"
> xmlns:rich="http://richfaces.org/rich" xml:lang="en" lang="en">
> <head>
> </head>
> <h:form id="MyForm">
> <rich:panelMenu selectedChild="group2" >
> <rich:panelMenuGroup label="Group1" name="group1">
> <rich:panelMenuItem label="By Group1 Menu 1" name="menu1"/>
> <rich:panelMenuItem label="By Group1 Menu 2" name="menu2"/>
> <rich:panelMenuItem label="By Group1 Menu 3" name="menu3"/>
> </rich:panelMenuGroup>
> <rich:panelMenuGroup label="Group2" name="group2">
> <rich:panelMenuItem label="By Group2 Menu 1" name="menu4"/>
> <rich:panelMenuItem label="By Group2 Menu 2" name="menu5"/>
> <rich:panelMenuItem label="By Group2 Menu 3" name="menu6"/>
> </rich:panelMenuGroup>
> </rich:panelMenu>
> </h:form>
> </html>
--
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