Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.1-Beta
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Tomcat v7, JSF 2, ICEFaces 2.1.0 beta
-
Assignee Priority:P3
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
ACE:column's sortFunction attribute does not activate the display of the up/down arrows. Therefore, the sort method can not be called/tested. I have discussed this with Nils and he confirmed the arrows should be displayed. Also, the TLD does not specify the method signature required for the sort.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
My discussion with Pierre was going off the details from the documentation. Turns out that sortFunction isn't equivalent to sortBy, both must be used. SortFunction merely allows the user to define their own relationship between the objects expressed by sortBy, rather than implementing Comparable for the objects themselves, they can value bind a Comparator<Object> to sortFunction.
Tested this functionality and it works.