[Zope-dev] PythonScript
Jens Vagelpohl
jens@zope.com
Tue, 4 Dec 2001 12:06:59 -0500
if what you are returning is simply a list of items (like a list of
strings) you should return that simple list from the python script and
inside the dtml-in loop just say::
<dtml-var sequence-item>
jens
On Tuesday, December 4, 2001, at 11:44 , Dirk Datzert wrote:
> 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 - Zope-Dev@zope.org
> 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 )