6 Replies Latest reply on Jun 16, 2009 12:00 PM by Asha Rajesh

    Rich:PanelMenu

    Asha Rajesh Newbie

      Hi,
      I am using RF 3.1.6 and using the rich:panelMenu as as shown below. The strange thing is that the action of only the first menu item is invoked. If I click on any other menu item, the corresponding action is not invoked. This behaviour is seen only in Firefox. Please help me resolve this issue.
      In the follwoing, only the paste menu item's action method is called.

      <rich:panelMenu mode="ajax" expandSingle="true">

      <rich:panelMenuItem label="#{bundle.ctxMenu_Paste}" ajaxSingle="true" action="#{subBackingBean.processPaste}"
      reRender="NTSWebAppForm:tree"
      id="pasteItem"
      onclick="CloseContext();" />


      <rich:panelMenuItem label="#{bundle.ctxMenu_Copy}" ajaxSingle="true" action="#{subBackingBean.processCopy}"

      onclick="CloseContext();" id="copyItem" />


      <rich:panelMenuItem label="#{bundle.ctxMenu_Delete}" ajaxSingle="true"

      action="#{subBackingBean.setDeleteSelectedNode}"
      onclick="CloseContext();"
      oncomplete="javascript:Richfaces.showModalPanel('DeleteNodeConfirmMsgPanel');"
      id="deleteItem"
      />



      </rich:panelMenu>