Ok, I am very sorry to have cluthered this list. What can I say ? I am
definitely not up to Zen yet, because I was thinking in a very old fashioned
way :-(
The question and the answer were the same message; the example Method I gave
works perfectly when called for whatever object thanks to the wonderfull
world of objects and aquisition :-)

Good night
Gijs Reulen

> -----Oorspronkelijk bericht-----
> Van: Gijs Reulen [mailto:[EMAIL PROTECTED]]
> Verzonden: dinsdag 8 augustus 2000 0:54
> Aan: Mailinglist Zope
> Onderwerp: string to objectname conversion ?
> Hi
> I would like to list all objects in a folder. No problem there.
> However, I want to use the function/method universely so I need
> to pass the name of the target folder; as a string is the only
> way I can think of (formatted as a url).
> I tried several things in DTML and studies the DTML Ref, the
> mailinglist and the How-To's very hard but did not have the
> Enlightment yet :-(
> Is it possible ?
> Example:
> <dtml-in "PARENTS[0].objectValues()">
> <dtml-var icon>
> <dtml-var id>
> <dtml-var title>
> <dtml-var meta_type>
> <dtml-var bobobase_modification_time fmt="%m/%d/%Y">
> </dtml-in>
> But then instead of PARENTS[0] some parameter, for example:
> /method?folder=foo
> Gijs Reulen

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to