[
https://issues.apache.org/jira/browse/TOBAGO-1981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Udo Schnurpfeil resolved TOBAGO-1981.
-------------------------------------
Resolution: Fixed
> Exceptions while sorting in sheet in some special cases
> -------------------------------------------------------
>
> Key: TOBAGO-1981
> URL: https://issues.apache.org/jira/browse/TOBAGO-1981
> Project: MyFaces Tobago
> Issue Type: Bug
> Components: Core
> Affects Versions: 4.3.2
> Reporter: Udo Schnurpfeil
> Assignee: Udo Schnurpfeil
> Priority: Major
> Fix For: 4.4.0
>
>
> Currently, there are two comparator implementations used internally to sort
> (BeanComparator and ValueExpressionComparator). The BeanComparator is not
> woking using EL with more than one dot, e.g.
> {code:java}
> #{bean.object.name}
> {code}
> but the sorter is using it.
> The ValueExpressionComparator is more flexible with special cases and about
> 25% faster, so the BeanComparator should be removed.
> One example in the sheet.xhtml is:
> {code}
> <tc:sheet id="s1" value="#{sheetController.solarList}" var="object8"
> rows="4">
> <tc:style maxHeight="500px"/>
> <tc:column label="Name" sortable="true">
> <tc:link label="#{object8.name}" labelLayout="skip"/>
> </tc:column>
> [...]
> {code}
> When "var" contains a non alpha character and link-label is used for sorting.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)