1 Reply Latest reply on Feb 10, 2011 10:58 AM by Ilya Shaikovsky

    No success with rich:panelMenu

    Dominique Galland Newbie

      I try to take back a working example (3.x) of panelMenu with the new 4.0.0.20101226-M5.

      ...

      <h:commandLink
          value="#{strings['action.list']}"
          actionListener="#{personBacking.resetList}"
          action="person/list"
          immediate="true"
        />
        <rich:panelMenu
          style="width:170px"
          mode="server"
          itemChangeListener="#{personBacking.resetList}"
        >
          <rich:panelMenuGroup label="Personne">
            <rich:panelMenuItem
              label="#{strings['action.list']}"
              actionListener="#{personBacking.resetList}"
              action="person/list"
            />

      ...

      The commandLink is for debug purpose, when activated actionListener and action are called

      The itemChangeListener also for debug pupose it is also called when switching menu items

      But neither the actionListener or the action of the panelMenuItem are called.

      Note that in the showcase menu items doesnt have action or actionListener

      Does I miss something ?

      I hope that I do not disturb you in your preparation of the M5 release and I thank you for your work.

      Dominique Galland

       

      Ce message a été modifié par: Dominique Galland I try the same in the showcase <rich:panelMenuItem label="Item 1.1" name="Item_1_1" action="#{panelMenuBean.action}"/> and add an action method to the bean The action is also not called. I change also the mode in mode="server" and under the tcp monitor I see a partial upddate, does the server mode works.