我遇到富有问题:panelMenu,我的代码如下:
<rich:panelMenu style="width:200px" itemMode="ajax" groupMode="ajax"
topGroupExpandedRightIcon="chevronUp" expandSingle="false"
topGroupCollapsedRightIcon="chevronDown"
groupExpandedLeftIcon="triangleUp" groupCollapsedLeftIcon="triangleDown"
itemLeftIcon="disc" activeItem="#{navigator.menuItemSelected.id}">
<rich:panelMenuGroup label="Principal" rendered="true" expanded="true">
<rich:panelMenuItem label="#{msg.BANDEJA_OFICINA}" name="bandejaOficina" rendered="true" action="#{navigator.goToView('bandejaOficina',true)}">
</rich:panelMenuItem>
</rich:panelMenuGroup>
<rich:panelMenuGroup label="Administracion" rendered="#{navigator.admin}" expanded="true">
<rich:panelMenuItem label="#{msg.SQL}" name="SQL" rendered="true" action="#{navigator.goToView('sqlQuerys',false)}">
</rich:panelMenuItem>
<rich:panelMenuItem label="#{msg.USUARIOS}" name="USUARIOS" rendered="true" action="#{navigator.goToView('mgrUsuarios',true)}">
</rich:panelMenuItem>
<rich:panelMenuItem label="#{msg.OFICINAS}" name="OFICINAS" rendered="true" action="#{navigator.goToView('mgrOficinas',true)}">
</rich:panelMenuItem>
<rich:panelMenuItem label="#{msg.SYSPARM}" name="SYSPARM" rendered="true" action="#{navigator.goToView('mgrSysParam',true)}">
</rich:panelMenuItem>
</rich:panelMenuGroup>
</rich:panelMenu>
菜单按预期工作,但在视图中,当您单击panelMenuGroup(Principal或Administracion)时,菜单会闪烁,然后您需要再次单击它以使菜单折叠,欢迎任何帮助!