You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Greg Kable (JIRA)" <ji...@apache.org> on 2009/04/23 03:04:47 UTC

[jira] Commented: (JSPWIKI-526) Allow administrators to select the Comparator used for sorting page lists by name

    [ https://issues.apache.org/jira/browse/JSPWIKI-526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701776#action_12701776 ] 

Greg Kable commented on JSPWIKI-526:
------------------------------------

Sorry for being thick but what do you mean by a ClassMapping.  My intention was to have a property containing a class name - similar to LoginModule.  In fact a better name for property would be jspwiki.PageNameComparator.class.

Is this what you meant?



> Allow administrators to select the Comparator used for sorting page lists by name
> ---------------------------------------------------------------------------------
>
>                 Key: JSPWIKI-526
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-526
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Localization
>            Reporter: Greg Kable
>            Priority: Minor
>
> I personally hate the order of pages returned by the standard sorting routines and would rather an order that understood numeric ordering.  That is, instead of having the list:
> WikiPage1
> WikiPage10
> WikiPage2
> I'd like to get the list:
> WikiPage1
> WikiPage2
> WikiPage10
> There are also many other case, especially for localisation, where being able to set the page name order would be useful.
> To achieve this, I propose adding a JSPWiki property which specifies the Comparator to be used for page names.  Before I do the work and submit a patch, I'd like to know:
> - Would this be a welcome feature?
> - Is jswpwiki.pageNameComparator an appropriate property name?  If not, what do you suggest?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.