[Zope] Can't get dtml-in to work!

Laurie Nason laurien@tiger.3dem.bioch.bcm.tmc.edu
Thu, 12 Jul 2001 13:37:59 -0500


OK - I pasted into a Document and obviously got bitten by aquisition
(again!)
If it's in a document then it won't work  - but because a Method takes on
the namespace around it (techically incorrect jargon - I know!) it then
looks in the folder it is in.
Laurie

-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Eric
Walstad
Sent: Thursday, July 12, 2001 1:04 PM
To: zope@zope.org; lvw@lfpt.rwth-aachen.de
Subject: RE: [Zope] Can't get dtml-in to work!


Lars,
FWIW, I pasted your code into a DTML method in my Zope root and it worked
for me.
-Eric

> <dtml-var standard_html_header>
> <h2><dtml-var title_or_id></h2>
> <p>
> Hello
> <dtml-in expr="objectValues('Folder')">
>    Out there !
>    <dtml-var sequence-length>
>    <dtml-var getId>
>
> </dtml-in>
> </p>
> <dtml-var standard_html_footer>


_______________________________________________
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 )