Thanks a lot. This looks almost like the controller I had in mind. But
when I move the code into a tag library it would be fine. 
 
Greetings wolf

________________________________

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Vasko Gjurovski
Gesendet: Dienstag, 9. Dezember 2008 13:24
An: Magnolia User-List
Betreff: Re: [magnolia-user] DMS: Howto get a List of Documents on a jsp
template


Take a look at the dms.jsp file from magnolia-dms-module... it does just
that: a list of all files in a given path...

Regards,
Vasko


On Tue, Dec 9, 2008 at 12:52 PM, Bubenik, Wolf <[EMAIL PROTECTED]>
wrote:


        
        Hallo all, 
         
        I have a folder full of nice documents in the DMS and want to
provide a download page. 
         
        I found a nice paragraoh template that looks like rendering a
given document
(magnolia-samples/src/main/resources/mgnl-files/templates/samples/paragr
aphs/download.jsp - lots of clicks). 
         
        But how do I get the list of document from the DMS without
having to write my own controller? 
        Can I use one of the existing tags (and how)?
         
        I tried 
         
        <cms:contentNodeIterator path="/campain/downloads"
repository="dms" varStatus="status">
                       <p> Hallo: ${status.current} </p>
                    </cms:contentNodeIterator>
         
        but it did something else :-)
         
        Thanks Wolf


________________________________

        ----------------------------------------------------------------
        For list details see
        http://www.magnolia-cms.com/home/community/mailing-lists.html
        To unsubscribe, E-mail to:
<[EMAIL PROTECTED]>
        ----------------------------------------------------------------
        



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[EMAIL PROTECTED]>
----------------------------------------------------------------

Reply via email to