1 2 Previous Next 28 Replies Latest reply on Nov 28, 2009 10:39 AM by jsf geeks

    How to keep component state on page? (rich:panelMenu)?

    philip andrew Newbie
      Hi,

      I'm trying to use <rich:panelMenu and I have my panel menu items.

      <rich:panelMenuItem label="Member Activity List" action="#{panelMenu.memberActivityList}">

      It calls the seam component, panelMenu and calls that method which is

      public String memberActivityList() {
      return "/MemberActivityList.xhtml";
      }

      The problem is - the <rich:panelMenu is not staying at the item I just clicked on, it folds up and does not show the selected menu item.
      Why is that so?

      Should I be returning something different from my method?

      Any help greatly appriciated,

      Thanks, Philip
        1 2 Previous Next