2 Replies Latest reply on Jan 21, 2009 8:08 AM by andre.eugenio

    rich:tooltip js error on Firefox

    andre.eugenio

      Hi,

      I'm running the latest version of rich-faces (3.3.0.ga), latest version of mojarra (1.2_12) and the following code works fine on ie, but on firefox doesnt work as expected

      <?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:h="http://java.sun.com/jsf/html"
       xmlns:f="http://java.sun.com/jsf/core"
       xmlns:a4j="http://richfaces.org/a4j"
       xmlns:rich="http://richfaces.org/rich">
      
       <head>
       </head>
       <body>
       <h:form>
      
       <h:outputLink value="#" onclick="#{rich:component('ttFields')}.show();">Show</h:outputLink>
       <h:outputLink value="#" onclick="#{rich:component('ttFields')}.hide();">Hide</h:outputLink>
      
       <rich:toolTip id="ttFields" hideEvent="none" showEvent="none">
       <rich:dataTable value="#{statusGroupExtendedDataModel}" var="opt">
       <rich:column sortBy="#{sg.l1Description}">
       <f:facet name="header">#{msg.tbStatusGroup_description}</f:facet>
       #{sg.l1Description}
       </rich:column>
       </rich:dataTable>
       </rich:toolTip>
       </h:form>
       </body>
      </html>
      


      The following error is reported by Firebug (firefox plugin).

      e is undefined
      http://localhost:81/sssi.seam/a4j/g/3_3_0.GAorg/richfaces/renderkit/html/scripts/tooltip.js
      Line 21
      


      Any help will be appreciated.

      Andre.