[opencms-dev] Retrieving xml-content in inverse order

Eric Hein eric.hein at sbcglobal.net
Sun Jan 23 18:11:20 CET 2005


Ulrich,
 
The "allInFolderDateReleasedDesc" collector uses the "CmsResource.COMPARE_DATE_RELEASED" comparator which orders the articles by date released (or by creation date if no date released property is set).  
 
You could edit this comparator (although that would obviously affect all calls to the "allInFolderDateReleasedDesc" collector), or you could add an new collector to the "CmsDefaultResourceCollector" class and have it use your new comparator.
 
 
- Eric
 
 
 
 

Ulrich Rueth <lists at rueth.info> wrote:
Hi all,

is it possible to retrive xml-content articles in inverse order (newest
first, eldest last) using the

%>" collector="allInFolderDateReleasedDesc">

tag? I only get them in the order of (I think) "valid from" date.

Thanks and regards
Ulrich



_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050123/4004930a/attachment.htm>


More information about the opencms-dev mailing list