3 Replies Latest reply on May 23, 2008 5:25 PM by Mireille Moreira

    menuitem and param

    Johannes Stelzer Newbie


      <rich:dropDownMenu value="#{row.key.fullname}" event="onclick" >
       <rich:menuItem action="/EntryList.xhtml" submitMode="server" value="Buchungen">
       <f:param name="owner" value="#{row.key.id}" />

      I get redirected to the EntryList page, but the GET-parameter owner is missing?? what am I doing wrong?

      another issue i've observed is when the dropdown is inside an tabpanel:
      the user get's redirected via an menuitem and when he clicks on the back button of his browser and selects a tab to be diplayed he gets redirected to the page of the menuitem, instead to the tab

      (sorry for my bad english)

        • 1. Re: menuitem and param
          Ilya Shaikovsky Master

          http://jira.jboss.com/jira/browse/RF-949 Thanks

          Could you please temporarilly use ajax mode? If you need navigation after responce - just use redirect rules.

          • 2. Re: menuitem and param
            Johannes Stelzer Newbie

            thanks for your reply...
            but i quite don't get it to work....



            <rich:dropDownMenu value="#{row.key.fullname}" event="onclick" >
             <rich:menuItem action="/EntryList.xhtml" submitMode="ajax" value="Buchungen">
             <f:param name="owner" value="#{row.key.id}" />

            the redirect work's fine, but the parameter is still missing...

            or could this issue come from using seam 1.2.1GA?

            • 3. Re: menuitem and param
              Mireille Moreira Newbie

              I still got this problem using dynamic menu item (backing bean):

              HtmlMenuItem menuItem = new HtmlMenuItem();
              UIParameter parameter = new UIParameter();

              At Firefox it works fine. However, it doesn't work at IE.

              String out = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("id");

              Console using Firefox:


              Console using IE: