t:commandSortHeader not being styled
Posted
by JBristow
on Stack Overflow
See other posts from Stack Overflow
or by JBristow
Published on 2010-06-17T18:21:55Z
Indexed on
2010/06/17
18:33 UTC
Read the original article
Hit count: 361
I've got the following JSF:
<t:column styleClass="cb-status-column">
<f:facet name="header">
<t:commandSortHeader columnName="externalStatus" styleClass="cb-status-column">
Status
</t:commandSortHeader>
</f:facet>
<h:outputText value="#{tx.externalStatus}" title="#{tx.externalStatus}"/>
</t:column>
Unfortunately, it renders like this:
<th>
<a href="#" onclick="return oamSubmitForm('transactionsTableForm','cb-activity-table:j_id131');" id="cb-activity-table:j_id131">
Status
</a>
</th>
How do I get it to look like this:
<th class="cb-status-column">
<a href="#" onclick="return oamSubmitForm('transactionsTableForm','cb-activity-table:j_id131');" id="cb-activity-table:j_id131">
Status
</a>
</th>
© Stack Overflow or respective owner