5 Replies Latest reply on Jan 28, 2010 2:28 AM by nimo22

    upgrade to 3.3.2 - rich:contextMenu menuGroup does not work

    nimo22

      I have upgraded from rf 3.3.1 to 3.3.2 and now, the rich:contextMenu makes troubles:

       

      RF 3.3.2 does not render the menuGroup:

       

      {code}

      <rich:contextMenu attached="false" submitMode="ajax">
      <rich:menuItem value="item 1">

      <rich:menuSeparator/>

      <rich:menuGroup value="Actions">
                      <rich:menuItem value="action 1" />
                      <rich:menuItem value="action 1" />
                      <rich:menuItem value="action 1"/>

      </rich:menuGroup>

      </rich:contextMenu>

      {code}

       

       

      any suggestions?

        • 1. Re: upgrade to 3.3.2 - rich:contextMenu menuGroup does not work
          nimo22

          Okay I found the reason:

           

          I have a menuGroup with 5 rich:menuItems inside. 3 of them are disabled. And this is the reason, why the rich:menuGroup does not render well:

           

          <rich:contextMenu attached="false" submitMode="ajax"><rich:menuItem value="item 1">
          <rich:menuItem value="view">
               <rich:menuGroup value="Actions">
                          <rich:menuItem value="action 1"/>
                          <rich:menuItem value="action 2"/>
                          <rich:menuItem value="action 3" disabled="true"/>
                          <rich:menuItem value="action 4" disabled="true"/>
                          <rich:menuItem value="action 5" disabled="true"/>
               </rich:menuGroup>
          </rich:contextMenu>

           

           

           

          If I delete the disabled-property in each tag, then it renders right.

          The odd thing is, if I disable only one or two tags within a rich:menuGroup, then it renders right, too.

          But with more than 2, it renders not right, that means: the menuItems within a menuGroup are rendered completly outside of the rich:contextMenu, if the menuGroup has more than two rich:menuItems with disabled is set to true.

           

          However, this problem occures after I upgraded to 3.3.2 (with 3.3.1 this problem does not occur!)

           

          Bug?

          • 2. Re: upgrade to 3.3.2 - rich:contextMenu menuGroup does not work
            nbelaevski
            Yes, that's a known problem. Try upgrading to 3.3.3.BETA1.
            • 3. Re: upgrade to 3.3.2 - rich:contextMenu menuGroup does not work
              nimo22

              okay thanks.

               

              by the way, I cannot find the "search"-mask for threads like "discussions". For example, I want to search all discussions about rich:contextMenu.

               

              Where can I find the search-mask here in this forum?

              • 4. Re: upgrade to 3.3.2 - rich:contextMenu menuGroup does not work
                nbelaevski
                There's input with gray label "Search the community" at top right corner of this page.
                • 5. Re: upgrade to 3.3.2 - rich:contextMenu menuGroup does not work
                  nimo22
                  thank you!