<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:cms><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=046424921-23012005><FONT face=Arial color=#0000ff size=2>Hi
Eric,</FONT></SPAN></DIV>
<DIV><SPAN class=046424921-23012005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046424921-23012005><FONT face=Arial color=#0000ff size=2>thanks
for your answer. Even if I do some local diffs to OpenCms, may I request this as
a feature for the OpenCms6 final release? It would be very
helpful.</FONT></SPAN></DIV>
<DIV><SPAN class=046424921-23012005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046424921-23012005><FONT face=Arial color=#0000ff
size=2>Another feature request is that the OpenCms tag lib provides
functionality to check the content of a xml-content element. Example: I have an
element</FONT></SPAN></DIV>
<DIV><SPAN class=046424921-23012005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046424921-23012005><FONT face=Arial color=#0000ff
size=2><TableOfContents>true</TableOfContents></FONT></SPAN></DIV>
<DIV><SPAN class=046424921-23012005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046424921-23012005><FONT face=Arial color=#0000ff size=2>of
type OpenCmsBoolean, and would like to be able to check not only for its
presence, but also whether or not the value is true or false. I made a
workaround for the moment, where I directly access the xml sourcefile using jsp
scriptlet, but definitely an tag lib element would be highly
appreciated.</FONT></SPAN></DIV>
<DIV><SPAN class=046424921-23012005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046424921-23012005><FONT face=Arial color=#0000ff
size=2>Regards</FONT></SPAN></DIV>
<DIV><SPAN class=046424921-23012005><FONT face=Arial color=#0000ff
size=2>Ulrich</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Ursprüngliche Nachricht-----<BR><B>Von:</B>
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org]<B>Im
Auftrag von </B>Eric Hein<BR><B>Gesendet:</B> Sonntag, 23. Januar 2005
18:11<BR><B>An:</B> The OpenCms mailing list<BR><B>Betreff:</B> Re:
[opencms-dev] Retrieving xml-content in inverse order<BR><BR></FONT></DIV>
<DIV>
<DIV>Ulrich,</DIV>
<DIV> </DIV>
<DIV>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). </DIV>
<DIV> </DIV>
<DIV>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.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>- Eric</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><BR><BR><B><I>Ulrich Rueth <lists@rueth.info></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi
all,<BR><BR>is it possible to retrive xml-content articles in inverse order
(newest<BR>first, eldest last) using the<BR><BR><cms:contentload
collector="allInFolderDateReleasedDesc" param="<%=articles<br>%>"
editable="true"><BR><BR>tag? I only get them in the order of (I think)
"valid from" date.<BR><BR>Thanks and
regards<BR>Ulrich<BR><BR><BR><BR>_______________________________________________<BR>This
mail is send to you from the opencms-dev mailing list<BR>To change your list
options, or to unsubscribe from the list, please
visit<BR>http://mail.opencms.org/mailman/listinfo/opencms-dev<BR></BLOCKQUOTE></cms:contentload></DIV></BLOCKQUOTE></BODY></HTML>