2 Replies Latest reply on Mar 15, 2008 3:56 PM by madhav_inamti

    ui:repeat and rich:tooltip...

      I had a rich data table and a link that invoked a rich:tooltip. I changes it to a ui:repeat and the link does not invoke rich tooltip

      Here's the code

      <h:outputLink value="#" id="fooT">
       <h:outputText value="#{messages.fooT}"/>
       <a4j:support event="onclick" ajaxSingle="true" disableDefault="true">
       <a4j:actionparam name="id" value="#{my.id}" assignTo="#{myBean.selectedId}"/>
       </a4j:support>
       </h:outputLink>
       <rich:toolTip id="fooTTooltip" event="onclick" direction="bottom-left" mode="ajax" styleClass="tooltip" layout="block">
       <f:facet name="defaultContent">
       <strong>Wait...</strong>
       </f:facet>
      
      ..... tooltip data
       </rich:toolTip>
      
      


        • 1. Re: ui:repeat and rich:tooltip...
          ilya_shaikovsky

          please show more complete code. I need to see parent for tooltip. Make sure parent encodes Id.

          • 2. Re: ui:repeat and rich:tooltip...

            What do you mean by encodes the id.

            <h:outputLink styleClass="foolink"
             value="#{facesContext.externalContext.requestContextPath}/fooUser}">
             <h:outputText value="#{abc} />
             <a4j:support event="onmouseover" requestDelay="500" reRender="userTooltip"/>
             <rich:toolTip id="userTooltip" direction="top-right" mode="ajax" styleClass="tooltip" layout="block">
             <f:facet name="defaultContent">
             <strong>Wait...</strong>
             </f:facet>
             <h:panelGrid columns="1">
             <h:outputText value="#{abc}" styleClass="tooltipData" />
             </h:panelGrid>
             </rich:toolTip>
             </h:outputLink>