Hi,

You can use the attribute "footerstyleClass" of <t:column>.

Regards,
Jakob

2010/1/29 laredotornado <[email protected]>

>
> Hi,
>
> I'm using MyFaces 1.1.5 with Tomahawk 1.1.7.  How can I apply a class to
> only a particular cell the footer row of a dataTable?  I tried this ...
>
>            <t:column>
>              <f:facet name="header">
>                <t:outputText value="Sub-Vendor"/>
>              </f:facet>
>              <t:outputText value="#{currentRow.name}">
>              </t:outputText>
>              <f:facet styleClass="alignright" name="footer">
>                <h:outputText styleClass="alignright" value="Total:" />
>              </f:facet>
>            </t:column>
>
> but unfortunately am greeted with the error, "attribute `styleClass' in tag
> `f:facet'".  Also, the styleClass attribute of teh h:outputText only gets
> applied to the span and not the td surrounding the cell, which is where I
> want to apply the class.
>
> Thanks for your help, - Dave
> --
> View this message in context:
> http://old.nabble.com/How-do-I-apply-a-class-to-only-one-footer-cell--tp27377604p27377604.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>

Reply via email to