Re: sort containerlist in different languages
Philippe Vollenweider <[email protected]>
| Newsgroups | gmane.comp.cms.jahia.devel |
|---|---|
| Message-ID | <[email protected]> |
Hy, Why don't you user the ContainerSorterBean? Philippe. At 18.08.2005 16:53, you wrote: >The sorting is not done with a ContainerSorterBean I construct, >but with HTMLToolBox.drawContainerListPropertiesLauncher method. > >The solution is to write my own sorter? > >Greetings, >Tom > >On 8/18/05, Khue Nguyen <[email protected]> wrote: > > Hi, > > > > how do you construct the sorter ? > > > > Be sure to use the Constructor with the EntryLoadRequest in the parameters. > > > > ContainerSorterBean sorter = new ContainerSorterBean(listId, fieldName, > > jParams.getEntryLoadRequest()); > > > > > > Regards, > > > > Khue Nguyen > > > > > > > > > > ----- Original Message ----- > > From: "tom *" <[email protected]> > > To: <[email protected]> > > Sent: Thursday, August 18, 2005 10:22 AM > > Subject: sort containerlist in different languages > > > > > > Hi all, > > > > Is it possible to sort a containerlist in a different way for another > > language. > > Say I have a containerlist, with containers that have a name - field. > > There are two containers, > > in English the names are "A" and "Z" > > in French they are "X" and "B" > > > > So "X" is the french translation for "A", "B" for "Z". > > > > When I sort this automatically, alphabetical ascending, in English, he > > gives "A" "Z", but in french he keeps the same order, which means "X" > > "B". > > > > Is it possible that jahia sorts them so they are alphabetical in each > > language? > > > > greets, > > tom > > > > > > -------=[ pvollenweider at jahia dot com ]=--------- Jahia : A collaborative source CMS and Portal Server www.jahia.org Community and product web site www.jahia.com Commercial services company