3 Replies Latest reply on Jun 6, 2007 7:37 AM by ilya_shaikovsky

    js error when using t:schdule and rich:simpleTogglePanel

    liuliu

      Hi,

      I get a js error $H(hash).inject is not a function when using rich:simpleTogglePanel, after some investigations, i found it is because of a <t:schedule > component of myfaces. I made a simple test page.

      <?xml version="1.0" encoding="ISO-8859-1"?>
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:ui="http://java.sun.com/jsf/facelets"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:f="http://java.sun.com/jsf/core"
       xmlns:t="http://myfaces.apache.org/tomahawk"
       xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
       xmlns:rich="http://richfaces.ajax4jsf.org/rich"
       xmlns:sig="http://dme.sigems.fr/sigemsdme">
      
      <body>
      
       <t:schedule />
       <rich:simpleTogglePanel label="Type" switchType="client" opened="true">
       test test
       </rich:simpleTogglePanel>
      </body>
      </html>
      


      any idea?

      thanks