[xwiki-users] Order of classes?

Melv Ng melvng at codeberry.com
Wed Apr 11 22:24:16 CEST 2007


Hi,

I'm not sure if this is what you want, but in the case of the class page (
XWiki.XWikiClasses), you can make the list sorted by simply sorting the
class list. Replace the bottom code of the page to something like this:

1.1 Existing Classes
#set( $list = $xwiki.sort( $xwiki.classList ) )
#foreach ($classname in $list)
   * [$classname]
#end

Best regards
Melv

On 4/11/07, Esbach, Brandon <Esbachb at tycoelectronics.com> wrote:
>
>  Hi all,
>
> When viewing a list of classes (both in the class editor and when
> attaching a class manually to a document via class list dropdown) the order
> of classes seems a bit random. Is there any way to select the sort order?
>
> The userlist property type also seems to be a bit random (in my case,
> selecting value or id makes no difference).
>
>
> --
> You receive this message as a subscriber of the xwiki-users at objectweb.orgmailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe at objectweb.org
> For general help: mailto:sympa at objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xwiki.org/pipermail/users/attachments/20070411/174175c1/attachment-0001.html 


More information about the users mailing list