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
Pierre Masse
created issue -
Pierre Masse
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Nils Lundquist [ nils.lundquist ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | 2.1 [ 10241 ] | |
Affects | [Documentation (User Guide, Ref. Guide, etc.)] | |
Assignee Priority | P2 |
Ken Fyten
made changes -
Salesforce Case | [] | |
Assignee Priority | P2 | P3 |
Nils Lundquist
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 3.0.RC1 [ 10300 ] | |
Fix Version/s | 3.0 [ 10241 ] |
Ken Fyten
made changes -
Fix Version/s | 3.0 [ 10241 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
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.