[ 
https://issues.apache.org/jira/browse/TRINIDAD-768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559941#action_12559941
 ] 

Gerhard Petracek commented on TRINIDAD-768:
-------------------------------------------

hello luka,

thank you for your comment.

it wasn't my intention to support what you suggested (at the first step).
the attribute supports el expressions to provide a string. so you cannot use an 
"advanced" syntax within the provided string itself (at the moment).

however, i already have 2 possible implementations in place to support the 
suggested feature.
i've to think about dis-/advantages and maybe we have to discuss them on the 
dev-mailing-list.

it will be a separated improvement.

regards,
gerhard

> improved support for sortable properties
> ----------------------------------------
>
>                 Key: TRINIDAD-768
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-768
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>          Components: Components
>    Affects Versions: 1.0.3-core
>         Environment: tested with trinidad 1.0.3
>            Reporter: Gerhard Petracek
>            Assignee: Matthias Weßendorf
>            Priority: Minor
>             Fix For: 1.0.5-core, 1.2.5-core
>
>         Attachments: SortableModel.patch
>
>
> e.g.
> with this patch the following is possible:
> sortProperty="subproperty1.subproperty2.sortableValue"
> full example:
> <tr:table value="#{bean.list}" var="entry" autoSubmit="true">
>   <tr:column headerText="property" sortable="true" 
> sortProperty="subproperty1.subproperty2.sortableValue">
>     <tr:outputText value="#{entry.subproperty1.subproperty2 .sortableValue}"/>
>   </tr:column>
> </tr:table>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to