You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jing Wu (Issue Comment Edited) (JIRA)" <de...@myfaces.apache.org> on 2012/02/17 18:25:59 UTC

[jira] [Issue Comment Edited] (TRINIDAD-2202) Support case insensitive sort

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

Jing Wu edited comment on TRINIDAD-2202 at 2/17/12 5:24 PM:
------------------------------------------------------------

To support case insensitive sort, we proposed the following enhancements:

(1) Add a new column property sortStrength, the supported values are "Primary", "Secondary", "Tertiary"  and "Identical". Default value is "Identical".
(2) Add a new enum type SortStrength to work with Collator's strength values.
(3) Add a new state of type SortStrength to SortCriterion
(3) Add utility method in TableUtils to get the sort strength based on the sort property.
(4) Modify TableRenderer to construct SortCriterion with the correct sort strength value.
(6) Modify SortableModel to implement case insensitive sort.

                
      was (Author: jingwu):
    To support case insensitive sort, we proposed the following enhancements:

(1) Add a new column property sortStrength, the supported values are "Primary", "Secondary", "Tertiary"  and "Identical". Default value is "Identical".
(2) Add a new enum type SortStrength to work with Collator's strength values.
(3) Add a new state of type SortStrength to SortCriterion
(4) Modify ColumnGroupRenderer to retrieve sortStrength value and add it as part of Sort state.
(5) Modify TableRenderer to interpret the sort state and construct SortCriterion accordingly.
(6) Modify SortableModel to implement case insensitive sort.

                  
> Support case insensitive sort
> -----------------------------
>
>                 Key: TRINIDAD-2202
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2202
>             Project: MyFaces Trinidad
>          Issue Type: New Feature
>          Components: Infrastructure
>    Affects Versions:  1.2.12-plugins 
>         Environment: this is environment independent.
>            Reporter: Jing Wu
>         Attachments: caseinsensitivesort-trunk.patch
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> This is to support case insensitive sort. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira