[opencms-dev] cms:contentload tag?

Ricardo Zayas rzayas at satec.es
Thu Nov 17 10:25:30 CET 2005

I'd like to iterate over all the document in a directory from java code
(no jsp, so no pageContext, no request, ...)

Something like <public List getFiles(String folder);>

May someone point me in the right direction?
I'm totally new in this matters


-----Mensaje original-----
De: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] En nombre de Doychi
Enviado el: jueves, 17 de noviembre de 2005 3:49
Para: The OpenCms mailing list
Asunto: [opencms-dev] cms:contentload tag?

Hi All,

I don't seem to be able to get the cms:contentload tag to work, at least
not the way I expect it to.

What I'm trying to do is create a menu from all of the document in the
directory, but I can't seem to seed the tag correctly.  The code below
seems to only pick up the current document.  All of the documents in the
site's root are of the xmlpage type.

Can some one please point me in the right direction.

<cms:contentload collector="allInFolder" param="/|xmlpage"
  <li><a class="menu" href="<cms:link><cms:contentshow 
    element="${opencms.filename}" /></cms:link>">
    <cms:property name="Title"/></a>


spdoychiam at doychi-dina.ath.cx

This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please

More information about the opencms-dev mailing list