Hi

Well guys, it would have been helpfull if someone mentioned the jsp must
include the tr:document tag.
Just one of those things a trinidad beginner stumbles on.


Stephan K wrote:
> 
> Hi
> 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:
> 
> <table>
> <tr>
> <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!
> 
> <table>
> <tr>
> <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
> value="#{messages.dependson}"/></f:facet>
> <tr:outputText value="#{task.dependsOn}"></tr:outputText>
> </tr:column>
> 
> ...
> 

-- 
View this message in context: 
http://www.nabble.com/-trinidad--Problems-with-table-column-sort-and-row-banding-tp15913001p16047311.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to