4 Replies Latest reply on Apr 4, 2015 4:56 PM by sushil003

    Richfaces 4.3.3 panelMenuGroup does not expand

    maarisk
      <ui:define name="test">    
           <h:form id="form">
              <h:panelGrid columns="2" columnClasses="cols,cols" width="400">
                  <rich:panelMenu style="width:200px" itemMode="ajax" groupMode="client" groupExpandedLeftIcon="triangleUp"
                      groupCollapsedLeftIcon="triangleDown" topGroupExpandedRightIcon="chevronUp"
                      topGroupCollapsedRightIcon="chevronDown" itemLeftIcon="disc" itemChangeListener="#{panelMenuBean.updateCurrent}">
                      <rich:panelMenuGroup label="Group 1">
                          <rich:panelMenuItem label="Item 1.1" name="Item_1_1" />
                          <rich:panelMenuItem label="Item 1.2" name="Item_1_2" />
                          <rich:panelMenuItem label="Item 1.3" name="Item_1_3" />
                      </rich:panelMenuGroup>
                      <rich:panelMenuGroup label="Group 2">
                          <rich:panelMenuItem label="Item 2.1" name="Item_2_1" />
                          <rich:panelMenuItem label="Item 2.2" name="Item_2_2" />
                          <rich:panelMenuItem label="Item 2.3" name="Item_2_3" />
                          <rich:panelMenuGroup label="Group 2.4">
                              <rich:panelMenuItem label="Item 2.4.1" name="Item_2_4_1" />
                              <rich:panelMenuItem label="Item 2.4.2" name="Item_2_4_2" />
                              <rich:panelMenuItem label="Item 2.4.3" name="Item_2_4_3" />
                          </rich:panelMenuGroup>
                          <rich:panelMenuItem label="Item 2.5" name="Item_2_5" />
                      </rich:panelMenuGroup>
                      <rich:panelMenuGroup label="Group 3">
                          <rich:panelMenuItem label="Item 3.1" name="Item_3_1" />
                          <rich:panelMenuItem label="Item 3.2" name="Item_3_2" />
                          <rich:panelMenuItem label="Item 3.3" name="Item_3_3" />
                      </rich:panelMenuGroup>
                  </rich:panelMenu>
              </h:panelGrid>
          </h:form>
      </ui:define>
      
      
      

       

      After upgrade from Richafaces 4.2.3.Final to Richfaces 4.3.3.Final rich panelMenu stopped working and menu group is not getting expanded (in Richfaces 4.2.3.Final this works fine). Tried example from richfaces showcase it did not work either. Is there any workaround as Richfaces 4.3.3.Final includes some fixes to other problems with extended data table I am encountering?

       

      Additional info - project is being devolped under Jboss EAP 6.1.0.Final.

        • 1. Re: Richfaces 4.3.3 panelMenuGroup does not expand
          bleathem

          The showcase sample works fine for me:

          http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=panelMenu&skin=blueSky

           

          What browser are you running on?  Do you have any errors in your browser console log or in your server error log?

          • 2. Re: Richfaces 4.3.3 panelMenuGroup does not expand
            maarisk

            Browser is Safari running on OS X Mountain Lion.

             

            Showcase sample also runs fine on showcase.richfaces.org, the same extract in my environment also is fine when using Richfaces 4.2.3, but after upgrade to 4.3.3 it stops working. Nothing is posted to server and also do not see any errors in browser console.

            • 3. Re: Richfaces 4.3.3 panelMenuGroup does not expand
              bleathem

              So it works fine when running on showcase.richfaces.org, but fails when run locally on JBoss EAP 6.1.0 on your local OS/X machine?

              That's interesting, because our OpenShift cartridge running showcase.richfaces.org is also using JBoss EAP.

               

              Did you build the showcase yourself?  If so, which build profile did you enable?  (We really need to put a dedicated jbosseap61 profile in our showcase)

               

              Note: the jbas71 profile for RichFaces <= 4.3.3.Final requires that you configure a guest JMS account.  For this reason we have been recommending to people that they run the "openshift" profile and deploy that to their EAP install.  As of Richfaces 4.3.4.Final we've disabled JMS by default in the showcase, so you are fine to use the jbas71 profile.

              • 4. Re: Richfaces 4.3.3 panelMenuGroup does not expand
                sushil003

                Hi,

                 

                I am having same issue while working with rich faces 4.5.3 Can you upload showcase example that you tried here along with libs ?

                 

                I am using rich faces 4.5.3 and my faces  2.2 and tomcat 7.0

                 

                Thanks,

                Sushil