1 Reply Latest reply on May 1, 2008 2:30 PM by Sergey Smirnov

    Panelmenu doesn't work after the page is loaded

    Sean Moon Newbie

      Hi, all.

      I just faced a problem. Everything works fine before I click the menu and get the page, but the panelMenu's not "clickable" once I have a page loaded.

      following is manelMenu from layout.xhtml

      <rich:panelMenu style="width:200px" mode="none"
      iconExpandedGroup="disc" iconCollapsedGroup="disc"
      iconExpandedTopGroup="chevronUp" iconGroupTopPosition="right"
      iconCollapsedTopGroup="chevronDown" iconCollapsedTopPosition="right">
      <rich:panelMenuGroup label="Admin">
      <rich:panelMenuItem >
      <a4j:commandLink action="#{adminControl.clientList}"
      style="display:block;height:20px">

      Client
      </a4j:commandLink>
      </rich:panelMenuItem>
      </rich:panelMenuGroup>
      </rich:panelMenu>


      following is part of faces-config.xml file

      <managed-bean>
      <managed-bean-name>adminControl</managed-bean-name>
      <managed-bean-class>
      mil.dma.spots.pages.admin.AdminControl
      </managed-bean-class>
      <managed-bean-scope>session</managed-bean-scope>
      </managed-bean>

      <navigation-case>
      <from-action>#{adminControl.clientList}</from-action>
      <from-outcome>success</from-outcome>
      <to-view-id>/protected/admin/client.xhtml</to-view-id>
      </navigation-case>

      following is a method in a control file(AdminControl.java).
      public String clientList() {
      loadSpotsLookUpGenericData();
      return "success";
      }

      Again, everything works fine. I can load data and spread out on the screen, but panelMenu is locked and I can't click anything(I can click it, but nothing happens).

      Please help me if you've faced this kind of problem or you can come up with anything.

      Thank you in advance.