datatable rendering 'error', tooltip and firefox 3.6.8
axemitch Aug 10, 2010 3:49 AMHello all, since yesterday, im searching about a "bug"?
I have a datable, with a tooltip for one column.
My problem is the render on firefox, i tried it on IE 6 and Chrome and is ok.
And there is the code :
{code:xml}
<rich:panel>
<rich:dataTable id="lpaData"
onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
onRowMouseOut="this.style.backgroundColor='white'" rendered="true"
width="99%" value="#{ui_la.leavesApp}" var="leaveApp">
<f:facet name="header">
<rich:columnGroup>
<rich:column>Primary Approval</rich:column>
<rich:column>Reason</rich:column>
<rich:column>Action</rich:column>
</rich:columnGroup>
</f:facet>
<rich:column style="text-align: center;">
<h:graphicImage url="images/tip.gif"
rendered="#{leaveApp.primApproval}" alt="titi"></h:graphicImage>
</rich:column>
<rich:column style="text-align: center;" rendered="true"
visible="true">
<h:graphicImage url="images/comments.gif"
rendered="#{not empty leaveApp.reason}" id="gI" alt="tata">
</h:graphicImage>
<h:outputText value=" no reason"
rendered="#{empty leaveApp.reason}">
<rich:toolTip followMouse="true" id="tip" for="gI"
direction="top-right" styleClass="tooltip">
<h:outputText value="#{leaveApp.reason}" />
</rich:toolTip>
</h:outputText>
</rich:column>
<rich:column>
<h:outputText value="Actions" />
</rich:column>
</rich:dataTable>
</rich:panel>
{code}
Anyone know how to correct this ?
Or maybe i made a mistake on coding ?
i'm using richfaces 3.3.3
Thanks
-
LeaveApplication.java.zip 684 bytes
-
UiLeaveApproval.java.zip 757 bytes