[opencms-dev] Feature Requests

Ulrich Rueth lists at rueth.info
Sun Jan 23 22:54:02 CET 2005


Hi Eric,

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.

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

<TableOfContents>true</TableOfContents>

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.

Regards
Ulrich
  -----Ursprungliche Nachricht-----
  Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org]Im Auftrag von Eric Hein
  Gesendet: Sonntag, 23. Januar 2005 18:11
  An: The OpenCms mailing list
  Betreff: Re: [opencms-dev] Retrieving xml-content in inverse order


  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



    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/12ec4f6a/attachment.htm>


More information about the opencms-dev mailing list