[Zope] simple var

Paz paz@chello.nl
Fri, 14 Jun 2002 14:08:58 +0200


I'm sorry to have to post this request, but I'm lost behind python
syntax again.

This works:

<dtml-with "folder1.folder2"><dtml-var index_html></dtml-with>

This doesn't:
   <dtml-call "REQUEST.set('sName', 'folder1.folder2')">
   <dtml-with "_[sName]"><dtml-var index_html></dtml-with>

Nor does:
   <dtml-with "_.getitem(sName)"><dtml-var index_html></dtml-with>

What am I missing?

Thanks,
Paz