0 Replies Latest reply on Jun 29, 2009 8:55 AM by thiru_neela

    Problem with rich:toolTip (complete data is not displayed in

    thiru_neela

      Hi!
      I am having a problem with rich:toolTip. I am using tooTip inside a listShuttle. If the data inside the column is less, then toolTip displays data correct. But if the data inside the column is more, data is displayed out of the toolTip horizontally.
      Could someone help me in solving this problem?
      Here is my code.

      <rich:listShuttle
       sourceValue="#{statusMail.todaysTimesheets}"
       targetValue="#{statusMail.selectedTimesheets}"
       var="ts"
       listsHeight="200" listsWidth="500"
       sourceListWidth="250"
       targetListWidth="250"
       sourceCaptionLabel="Time Sheets"
       targetCaptionLabel="To Be Attached to the Mail"
       copyControlLabel="Copy"
       copyAllControlLabel="Copy All"
       removeAllControlLabel="Remove All"
       removeControlLabel="Remove"
       converter="#{Converter}"
       immediate="true">
       <rich:column>
       <f:facet name="header">ID</f:facet>
       <h:outputText value="#{ts.workLog.issues.issueId}"></h:outputText>
       </rich:column>
       <rich:column>
       <f:facet name="header">Date</f:facet>
       <h:outputText value="#{ts.timesheetDate}"></h:outputText>
       </rich:column>
      
       <rich:column >
       <f:facet name="header">Comment</f:facet>
       <h:outputText id="desc" value="Check desc here"/>
       <rich:toolTip
       for="desc"
       direction="top-right"
       styleClass="tooltip-description">#{ts.comment}
       </rich:toolTip>
       </rich:column>
       <s:convertEntity/>
       </rich:listShuttle>
      

      regards,