Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1.3-SNAPSHOT
-
None
-
JDK 1.5.0_04-b05
JBoss 4.0.3SP1
myfaces-api-1.1.2.jar
myfaces-impl-1.1.4-SNAPSHOT.jar
standard-1.1.2.jar
tomahawk-1.1.3-SNAPSHOT.jar
xp pro
Description
Using the auto sortable table of the latest tomahawk causes a sort problem:
<t:dataTable value="#
"
var="data"
headerClass="tableheader"
columnClasses="tablecell"
sortable="true"
sortColumn="#
"
sortAscending="#
"
preserveDataModel="true"
preserveSort="true">
<t:column defaultSorted="true">
<f:facet name="header">
<h:outputText value="ID" />
</f:facet>
<h:commandLink action="#
">
<f:param name="dataListId" value="#
<h:outputText value="#{data.id}
" />
</h:commandLink>
</t:column>
nothing gets sorted.
Workaround: adding besides the commandLink <h:outputText value="#
" rendered="false"/> inside the t:column. Now the tables sorts by the value of the outputText.