[Zope] please help with dtml-in

Jan Lentfer Jan@MountainbikeHQ.de
Fri, 6 Apr 2001 10:46:48 +0200


Am Freitag,  6. April 2001 10:31 schrieb Paul Winkler:

> Or you can skip the dtml-with and call the objectValues() method
> of sub directly, like so:
>
> <dtml-in "sub.objectValues()">
>   <dtml-var title>
>   <dtml-var sequence-item>
> </dtml-in>
>
>
> The stuff in quotes is a python expression which means, call the
> objectValues method of the object "sub". If sub is a folder,
> this will loop through the contents of the folder.

This is a different question, but....

...can I also add the name of an object in the brackets? Like, when I want to 
get the values of a certain object in that folder only.

e.g.:

<dtml-in "sub.objectValues(name_of_object)">
</dtml-in>

or

<dtml-in "sub.objectValues(<dtml-var object_name)>
</dtml-in>


Thanks in advance


Jan
-- 
Jan@MountainbikeHQ.de
http://www.MountainbikeHQ.de - Your home for DH, DS and CC Mountainbiking