[opencms-dev] Howto sort Resources

Marc Schlegel my.mailing.lists at gmx.de
Sat Feb 16 18:29:48 CET 2008


Hi

I found out that there are two Comparator-Classes in the API 
(CmsPriorityTitleResourceComparator and 
CmsPriorityDateResourceComparator). But actually I don't have a clue how 
to use this.

List <CmsResource> resources= cmsObject.getResourcesInFolder("foobar", 
CmsResourceFilter.DEFAULT);
...??...

Thanks in advance




More information about the opencms-dev mailing list