myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan K <>
Subject [trinidad] Problems with table/column sort and row banding
Date Sat, 08 Mar 2008 14:51:37 GMT

I've started converting the myfaces based program I have to trinidad.
I'm having problems with my former dataTable though. I would like to make
some columns sortable,
and keep the banding I had coded previously like this:

<h:dataTable styleClass="tableStyle" rowClasses="white,grey"
value="#{taskBean.allTasks}" var="task" cellpadding="10" >

I changed this code to look like this but I don't get any banding!

<tr:table summary="Tasks" rowBandingInterval="1"
value="#{taskBean.allTasks}" var="task" >

Also I tried to make several columns sortable but thats not working either,
e.g. dependsOn is a string.

<tr:column sortProperty="dependsOn" sortable="true">
<f:facet name="header"> <tr:outputText
<tr:outputText value="#{task.dependsOn}"></tr:outputText>

Am I doing something wrong?

I presume I can mix in tr tags along with other tags e.g. f:form.
Also I'm not using jspx but jsp.
And I did not change my backing managed beans - so they don't use

Any help would be greatly appreciated!

View this message in context:
Sent from the MyFaces - Users mailing list archive at

View raw message