You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Tomas Cerny <to...@gmail.com> on 2007/05/15 02:00:01 UTC
[Trinidad] Table sort
Hello,
I have a question, when I am sorting rows in trinidad Table, lets say:
<tr:column sortable="true" defaultSortOrder="descending"
sortProperty="name" headerText="name">
<h:outputText value="#{staff.name}"/>
</tr:column>
it works well, but when I use that same thing on whatever delimited by "."
like:
<tr:column headerText="#{text['email']}" sortProperty="
personInfo.contactInfo.email" sortable="true">
#{person.personInfo.contactInfo.email}
</tr:column>
then it does not work?
Tomas
Re: [Trinidad] Table sort
Posted by ven guddanti <ve...@gmail.com>.
This will not work. Currently the sortProperty is treated as a string. It
cannot be used as EL expression.
On 5/14/07, Tomas Cerny <to...@gmail.com> wrote:
>
> Hello,
>
> I have a question, when I am sorting rows in trinidad Table, lets say:
>
> <tr:column sortable="true" defaultSortOrder="descending"
> sortProperty="name" headerText="name">
> <h:outputText value="#{staff.name}"/>
> </tr:column>
>
> it works well, but when I use that same thing on whatever delimited by "."
> like:
>
> <tr:column headerText="#{text['email']}" sortProperty="
> personInfo.contactInfo.email" sortable="true">
> #{person.personInfo.contactInfo.email}
> </tr:column>
>
> then it does not work?
>
> Tomas
>