我有以下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>
不幸的是,它呈现如下:
<th>
<a href="#" onclick="return oamSubmitForm('transactionsTableForm','cb-activity-table:j_id131');" id="cb-activity-table:j_id131">
Status
</a>
</th>
如何让它看起来像这样:
<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>
答案 0 :(得分:1)
你试过了吗?
<t:column styleClass="cb-status-column" headerstyleClass="cb-status-column">