2 Replies Latest reply on May 19, 2009 6:17 AM by gift sam

    Rich effects in rich panel menu

    gift sam Newbie

      Hi all,

      I would like to apply rich effects(type="BlindDown") to rich panel menu. I can easily implement like this

      <rich:panelMenuGroup id="componentId" label="Group1">
       <rich:effect event="onclick" for="componentId" type="BlindDown" params="duration:0.8" />
       <rich:panelMenuItem label="page1" action="#{PanelMenu.updateCurrent}" reRender="richId">
       <f:param name="current" value="Item 1.1" />
       </rich:panelMenuItem>
       <rich:panelMenuItem label="pag2" action="#{PanelMenu.updateCurrent}">
       <f:param name="current" value="Item 1.2"/>
       </rich:panelMenuItem>
       <rich:panelMenuItem label="page3" action="#{PanelMenu.updateCurrent}">
       <f:param name="current"value="Item 1.3"/>
       </rich:panelMenuItem>
       </rich:panelMenuGroup>


      But the rich effect should be applied only if I clicked the rich panel group. But now even if I clicked the rich:panelMenuItem the rich effects are applied. how can I apply rich effects only if I clicked the rich panel group. please suggest me!!