3 Replies Latest reply on Aug 30, 2007 2:17 AM by chen hong

    rich:menuItem bug?

    chen hong Newbie

      my menu code:

      <rich:toolBarGroup location="left">
       <rich:dropDownMenu value="#{messages['menu.system']}" style="z-index:100;position:relative">
       <rich:menuItem submitMode="ajax" value="#{messages['menu.system.userModify']}"
       action="/UserEdit.xhtml" >
       <f:param name="userId"

      when i first drop the menu item,the UserEdit.xhtml appear,but no user data,then i drop the menu item again,the UserEdit.xhtml appear with user data.

      why? i don't know really
      can you help me?

        • 1. Re: rich:menuItem bug?
          chen hong Newbie

          this is the source code in ie:

          onclick="this.className='dr-menu-item dr-menu-item-enabled rich-menu-item rich-menu-item-enabled '; ; A4J.AJAX.Submit('_viewRoot','j_id3',event,{'parameters':{'userId':1,'j_id3:j_id21':'j_id3:j_id21'} ,'actionUrl':'/manhour/home.seam'} )"

          when drop first ,the url is /UserEdit.seam?cid=63,but drop again,the url is UserEdit.seam?userId=1&cid=64

          please help me!

          • 2. Re: rich:menuItem bug?
            Ilya Shaikovsky Master

            At first.. why are you use ajax-ed menu item if you need just navigation? You may use server switch.

            If you still using ajax-ed item - your navigation rule should be redirect one.

            • 3. Re: rich:menuItem bug?
              chen hong Newbie

              but has the same question,when i use server-ed item!
              i don't understand why do i need drop twice then appear the right page,
              is not it a bug of menuItem?