1 Reply Latest reply on May 6, 2009 4:15 AM by ilya_shaikovsky

    Problem with rich:toolTip

      hi everyone

      i am facing two problem with rich:toolTip

      the first one is,

      in my page i am using the toolTip for outputText component.
      the client side toolTip was not working properly after my outputText component reRender by some other component. how to resolve this issue.

      this is my sample code.

      <h:inputText id="myinput" value="#{user.name}">
       <a4j:support event="onkeyup" reRender="outtext" />
      </h:inputText>
      <h:outputText id="outtext" value="#{user.name}" >
       <rich:toolTip>
       tool-tip content
       </rich:toolTip>
      </h:outputText>
      


      the second one is

      i am using the model panel for showing the status message when the ajax request was processing.

      so if i use the toolTip with ajax mode in my page , there clash between the model panel and toolTip. so the toolTip was not working.

      this is my sample code

      
       <a4j:status onstart="Richfaces.showModalPanel('ajaxLoadingModalBox',{width:450, top:200})"
       onstop="Richfaces.hideModalPanel('ajaxLoadingModalBox')"></a4j:status>
      
      <h:panelGrid columns="2">
       <h:inputText id="myinput" value="#{user.name}">
       <a4j:support event="onkeyup" reRender="outtext" />
       </h:inputText>
       <h:outputText id="outtext" value="#{user.name}" >
       <rich:toolTip mode="ajax">
       tool-tip content
       </rich:toolTip>
       </h:outputText>
      </h:panelGrid>
      
      <rich:modalPanel id="ajaxLoadingModalBox" minHeight="200" minWidth="450"
       height="100" width="250" zindex="2000">
       <f:facet name="header">
       <h:outputText value="Request being processed"></h:outputText>
       </f:facet>
       <h:outputText value="Your request is being processed, please wait."></h:outputText>
      </rich:modalPanel>
      

      how to resolve this one.

      by
      Thiagu.m

        • 1. Re: Problem with rich:toolTip
          ilya_shaikovsky

          1) which version you using. Should works fine within latest 3.3.1 CR.

          2) And it works just as designed. You defined status as modal panel and placed this status to the same region with ajax tooltip. Read more about different status definitions and avoid such usage.