0 Replies Latest reply on Jun 25, 2008 12:39 PM by mjdenham

    rich:toolTip appears behind selectOneMenu in ie6

    mjdenham

      In ie6 rich:toolTip displays behind adjacent selectOneMenu components.

      I have seen this error in the forum before but there was no solution other than upgrading to ie7 which is not an option for us: http://jboss.com/index.html?module=bb&op=viewtopic&t=124958

      Example code:

      <h:form>
       <t:panelGrid columns="2">
       <h:outputText value="Enter your annual consumption"/>
       <h:inputText id="testTooltip">
       <rich:toolTip for="testTooltip" zorder="99">
       <table><tr><th>Header 1</th><th>Header 2</th></tr>\
       <tr><td>row 1</td><td>10,000</td></tr>\
       <tr><td>row 2</td><td>15,000</td></tr>\
       <tr><td>row 3</td><td>25,000</td></tr>\
       <tr><td>row 4</td><td>29,000</td></tr>\
       <tr><td>row 5</td><td>35,000</td></tr>\
       </table>
       </rich:toolTip>
       </h:inputText>
      
       <h:outputText value="Select something here"/>
       <h:selectOneMenu id="gasPaymentMethod2">
       <f:selectItem itemLabel="First item" itemValue="1"/>
       </h:selectOneMenu>
       </t:panelGrid>
      </h:form>
      

      Thanks

      Martin