2 Replies Latest reply on Jan 25, 2008 5:24 PM by sergeysmirnov

    tooltip not appearing in panel unless entering from below

    oberiko

      Hello.

      I have a rich:panel with a rich:tooltip, and the latter doesn't show up unless I enter the panel from below.

      Is this a known bug, or should I add it to Jira (I didn't see this particular issue on a search)

      Full code of the page in question below.

      <!DOCTYPE composition 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:s="http://jboss.com/products/seam/taglib"
       xmlns:rich="http://richfaces.org/rich"
       xmlns:f="http://java.sun.com/jsf/core"
       xmlns:h="http://java.sun.com/jsf/html">
      
      <f:view>
       <h:form>
       <s:validateAll>
       <rich:panel>
       <f:facet name="header">Add / Edit Person</f:facet>
       <rich:toolTip delay="2000">
       This is where you enter the persons general information
       </rich:toolTip>
       <h:panelGrid id="panel" columns="2">
       <h:outputText value="ID: " />
       <h:outputText value="#{newPerson.id}" />
       <h:outputText value="Name: " />
       <h:inputText value="#{newPerson.name}" required="true"
       requiredMessage="You need to enter a name" />
       </h:panelGrid>
       <rich:panel>
       <f:facet name="header">Emails</f:facet>
       <rich:toolTip delay="2000">
       This is where you enter the persons email addresses
       </rich:toolTip>
       <h:outputText value="URL: " />
       <h:inputText value="#{emailAddress.url}" />
       <h:commandButton action="#{editPerson.addEmail()}"
       value="Add email" />
      
       <h:dataTable id="emailTable" value="#{newPerson.emailAddresses}"
       var="email" rendered="#{not empty newPerson.emailAddresses}"
       border="1">
       <h:column>
       <f:facet name="header">
       <h:outputText value="URL" />
       </f:facet>
       <h:outputText value="#{email.url}" />
       </h:column>
       <h:column>
       <f:facet name="header">
       <h:outputText value="Action" />
       </f:facet>
       <h:commandButton value="Remove"
       action="#{editPerson.removeEmail(email)}" />
       </h:column>
       </h:dataTable>
       </rich:panel>
       <h:commandButton value="Save" action="#{editPerson.savePerson()}" />
       <h:commandButton value="New" action="#{editPerson.newPerson()}" />
       </rich:panel>
       </s:validateAll>
       </h:form>
       <s:button value="Search" view="/searchPeople.xhtml" />
       <br />
       <h:messages />
      </f:view>
      
      </html>