t:commandSortHeader 未设置样式
我有以下 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>
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>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你尝试过吗:
?
Have you tried:
?