how do I show the contents of a sub folder using the dtml-in tag?
I have a folder called alpha containing a folder subalpha. In a DTML document within alpha I want to list the contents of subalpha using objectValues. Basically I would like to use something like <dtml-in "PARENTS[0].objectValues(['Folder'])">, but going DOWN instead of UP... I haven't found anything in the various newsgroups (except for <dtml-in "subalpha.objectValues(['Folder'])">, which does not work...). Thanks in advance for any help.
On Monday 19 November 2001 11:38 am, Vion, Nicolas allegedly wrote:
I have a folder called alpha containing a folder subalpha. In a DTML document within alpha I want to list the contents of subalpha using objectValues.
Basically I would like to use something like <dtml-in "PARENTS[0].objectValues(['Folder'])">, but going DOWN instead of UP...
I haven't found anything in the various newsgroups (except for <dtml-in "subalpha.objectValues(['Folder'])">, which does not work...).
That is however, correct. What is the result? Do you want to show all contents or just folders? If you want all contents try: <dtml-in "subalpha.objectValues()">
Thanks in advance for any help.
/---------------------------------------------------\ Casey Duncan, Sr. Web Developer National Legal Aid and Defender Association c.duncan@nlada.org \---------------------------------------------------/
participants (2)
-
Casey Duncan -
Vion, Nicolas