1

我有以下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>
4

1 回答 1

1

你有没有尝试过:

<t:column styleClass="cb-status-column" headerstyleClass="cb-status-column">

?

于 2010-06-18T00:34:45.217 回答