[
https://issues.apache.org/jira/browse/TOBAGO-1981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16768304#comment-16768304
]
Hudson commented on TOBAGO-1981:
--------------------------------
SUCCESS: Integrated in Jenkins build Tobago 4.x #61 (See
[https://builds.apache.org/job/Tobago%204.x/61/])
TOBAGO-1981: Exceptions while sorting in sheet in some special cases (lofwyr:
rev f8a3ca3fdb93418bf01a617c59ce201353ff1de1)
* (edit)
tobago-core/src/main/java/org/apache/myfaces/tobago/component/Sorter.java
* (edit)
tobago-core/src/main/java/org/apache/myfaces/tobago/util/ComparatorBase.java
* (edit)
tobago-core/src/main/java/org/apache/myfaces/tobago/util/ValueExpressionComparator.java
* (edit)
tobago-core/src/main/java/org/apache/myfaces/tobago/util/BeanComparator.java
* (edit)
tobago-core/src/test/java/org/apache/myfaces/tobago/util/BeanComparatorUnitTest.java
TOBAGO-1981: Exceptions while sorting in sheet in some special cases (lofwyr:
rev 5310615486c2b5474d2abd98176e337c31c664ce)
* (edit)
tobago-core/src/main/java/org/apache/myfaces/tobago/component/Sorter.java
> 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
>
> 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)