From: Ragnar Beer [mailto:[EMAIL PROTECTED]]

>+ myfolder
>       index_html
>       my_external_method
>       dtml_method_1
>       dtml_method_2
>       ...

>In index_html I want to include either dtml_method_1 or 
>dtml_method_2, ... (one method for every week of year). 
>my_external_method tells me which dtml_method to include.
>This would logically be handled with "<dtml-var <dtml-var 
>my_external_method>>" in index_html but this doesn't work.

Something like this ought to work:

    <dtml-var "objectValues('DTML Method')[my_external_method()]">

This is a no-no, as you cannot have nested dtml:

<dtml-var <dtml-var>my_external_method>>

Regards Max M

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to