something like:

return ['a','b','c','d']

try that in a Script(Python).

then iterate in a dtml method with dtml-in.


----- Original Message ----- 
From: "Dirk Datzert" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 04, 2001 4:44 PM
Subject: [Zope-dev] PythonScript


> Hi,
> 
> I have following trivial problem:
> 
> A DTML-Mthode calls a PythonScript suchThemen with Argumen themen like
> this
> 
>   <dtml-in "suchThemen(themen)">
>     <dtml-var themas>
>   </dtml-in>
> 
> The PythonScript should return values and I want to display in the
> dtml-in-loop the result variable themas.
> 
> Question: How must I programm the PythonScript that suchThemen returns
> variables of name themas ?
> 
> Thanks
> 
> Dirk
> 
> 
> _______________________________________________
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )


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

Reply via email to