[Zope] calling Z SQL methods specified by strings

blu_frisbee@web.de blu_frisbee@web.de
Sun, 20 Apr 2003 15:34:01 +0200


http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/AppendixB.stx

objectItems() gives a list of tuples (name, object) of folder content.
convert this to a dictionary d = { name:value, ... } 
(see python dictionaries for this)
and 

<dtml-in generatedemails>
   <dtml-var expr="d[name]">

will call the resp. objects.
______________________________________________________________________________
UNICEF bittet um Spenden fur die Kinder im Irak! Hier online an
UNICEF spenden: https://spenden.web.de/unicef/special/?mc=021101