3 Replies Latest reply on Jul 28, 2010 4:35 AM by tomas.kotrbaty

    RichFaces.Menu.Layers.layers[this.layer.id] is undefined

    tomas.kotrbaty

      Hello,

       

      I have a problem using <rich:dropDownMenu> and ajax in <rich:extendedDataTable>.

       

      I have ajax request in the table:

                                           <a4j:support
                                                  reRender="idBasicInformationTable,idDealerstable,idPakagesTable,idDrawedDealer"
                                                  action="#{OrderCarBean.selectCar}" event="onselectionchange" />

       

      The ajax request finishes, data rerenders OK.

      But then when I mouseover richmenu a javascript error occurs: "RichFaces.Menu.Layers.layers[this.layer.id] is undefined".

      The menu stops working, only this javascript is shown.

      It happens both in FF 3.6.3 and IE 7.

       

      When I remove the rich menu and try it, then ajax request is done, no javascript error, all is OK.

       

      It happens only on a remote server (development machine) where is WAS 7 installed on Linux.

      On localhost Windows XP (Tomcat 6 or WAS 7 it is OK).

       

      Libs in my WEB-INF/lib/ directory:

      commons-beanutils-1.7.0.jar
      commons-collections-3.2.jar
      commons-digester-1.8.jar
      commons-fileupload-1.2.jar
      commons-io-1.4.jar
      commons-lang-2.1.jar
      commons-validator-1.3.1.jar
      jakarta-oro-2.0.8.jar
      jsf-api.jar
      jsf-impl.jar
      jstl-1.2.jar
      log4j-1.2.15.jar
      myfaces-commons-utils12-1.0.0.jar
      myfaces-validators12-1.0.0.jar
      poi-3.6-20091214.jar
      richfaces-api-3.3.3.Final.jar
      richfaces-impl-3.3.3.Final.jar
      richfaces-ui-3.3.3.Final.jar
      tomahawk12-1.1.9.jar

       

      I realy do not know what to do.

      I do not want to use another menu, but...

       

      Thanks for tips. Tomas. SFME