5 Replies Latest reply on Oct 27, 2009 8:20 AM by Ilya Shaikovsky

    rich:toolTip and IE8

    L Kr Newbie

      Hi,

      I've just figured out, that the rich:toolTip from the 3.3.2.SR1 release doesn't work in the IE8. Even not in the compatibility view. I'm always getting a JS error and the tooltip is not rendered.

      <style>
       .tooltip_body_class {
       margin: 0px;
       padding: 0px;
       }
       .tooltip_class {
       border-style:solid;
       border-width:0px;
       background-color:#f3f3f3
       }
      </style>
      
      <t:panelGrid columns="2" border="0" cellpadding="5" cellspacing="0">
      ...
      <rich:panel bodyClass="tooltip_body_class" styleClass="tooltip_class">
       <t:inputText id="field_123" forceId="true"value="123" required="false" tabindex="10">
       <f:validateLongRange minimum="0" maximum="360" />
       <rich:toolTip>
       <span style="white-space:nowrap">
       <h:outputText value="abc">
       </span>
       </rich:toolTip>
      </t:inputText>
      <t:graphicImage width="5" url="/image/forall/dotTrans.gif"/>
      <t:graphicImage url="/image/forall/roof_orientation.jpg" id="roof_orientation_image"/>
      </rich:panel>
      



      The JS error is:

      Webpage error details
      
      User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)
      Timestamp: Wed, 21 Oct 2009 15:08:52 UTC
      
      
      Message: Object doesn't support this property or method
      Line: 3
      Char: 741
      Code: 0
      URI: http://localhost:8080/webportal/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/scripts/tooltip.js
      


      Lothar