Or even: <dtml-in "objectValues(['File'])"> if this news thing is a file.... ;-P -- Andy McKay, Developer. ActiveState. ----- Original Message ----- From: "Chris Withers" <chrisw@nipltd.com> To: "Andy McKay" <andym@activestate.com> Cc: "Dany Rioux" <rdany@drioux.com>; "Zope Mailing List" <zope@zope.org> Sent: Thursday, November 23, 2000 2:47 PM Subject: Re: [Zope] Newbie Question
Or even:
<dtml-in objectValues>
;-)
Chris
Andy McKay wrote:
<dtml-in "objectValues()">
-- Andy McKay, Developer. ActiveState. ----- Original Message ----- From: "Dany Rioux" <rdany@drioux.com> To: "Zope Mailing List" <zope@zope.org> Sent: Thursday, November 23, 2000 2:20 PM Subject: [Zope] Newbie Question
Hi everyone,
Simple newbie question... :)
I've made a directory called News into which I will put files named newsXXX. X being a number from 999 to 001.
What I want to do is to tell zope to put each file into a document. Now, here is what I figured out.
<dtml-with News> <dtml-in ???> <--- that's where I'm stuck. I don't know how to iterate through a directory ... I want ALL the newsXXX displayed. </dtml-in> </dtml-with>
How do I do that?
TIA
Dany
---.oo0O--------------O0oo.--------
Dany Rioux UnderSoft Inc. Business www.dating-reviews.com rdany@dating-reviews.com
Personal www.drioux.com rdany@drioux.com
-------.o00O-------O00o.-----------
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )