-
1. Re: rich:toolTip on datatable footer
nbelaevski May 26, 2010 5:33 AM (in response to rafaelk)Hi,
Can you please post page code?
-
2. Re: rich:toolTip on datatable footer
rafaelk May 26, 2010 1:39 PM (in response to nbelaevski)<rich:dataTable>
.......
<rich:column styleClass="blueB">
<f:facet name="header">#{messages['stk.blend']}</f:facet>
<gap:pctOutput valor="#{stk.pct}" />
<rich:toolTip
followMouse="true"
direction="top-right" showDelay="100"
styleClass="tooltip">
<h:outputText
value="#{messages[stk.rel]}"
styleClass="center-bold" /><br />
<rich:dataTable
value="#{stk.sps"
var="_sge"
footerClass="footer-matriz">
<rich:column styleClass="center">
<f:facet name="header">#{messages['t0']}</f:facet>
<h:outputText value="#{_sge.scaleAtT0.tag}" />
</rich:column>
<rich:column styleClass="center">
<f:facet name="header">
<h:outputText value="-->" />
</f:facet>
<h:outputText value="#{_sge.qtd}"/>
</rich:column>
<rich:column styleClass="center">
<f:facet name="header">#{messages['t1']}</f:facet>
<h:outputText value="#{_sge.scaleAtT1.tag}" />
</rich:column>
</rich:dataTable>
</rich:toolTip>
<f:facet name="footer">
<gap:pctOutput valor="#{stk.pctAll}" />
<rich:toolTip
id="text-1"
followMouse="true"
direction="top-right" showDelay="100"
styleClass="tooltip">
<h:outputText value="#{messages['stk.relative-values']}: #{stk.relativeAll}" />
</rich:toolTip>
</f:facet>
</rich:column> ... </rich:dataTable> -
3. Re: rich:toolTip on datatable footer
ilya_shaikovsky May 26, 2010 1:50 PM (in response to rafaelk)at first facet - do not supports more than one child component. so wrap the footer components with outputPanel for example and tooltip will be attached to it.
-
4. Re: rich:toolTip on datatable footer
rafaelk May 26, 2010 2:25 PM (in response to ilya_shaikovsky)Thanks, Ilya. Problem solved.