[Zope-dev] DTML <-> External Method

Michel Pelletier michel@digicool.com
Wed, 08 Mar 2000 15:03:45 -0800


I believe it's documented in the DTML guide.  It works just like
python's return:

<dtml-return an_object>

<dtml-return "['the result of this expression which is a list that
contains a string']">

<dtml-return "'a string'">

<dtml-return "theResultOfAMethodWithAn(Argument)">

-Michel

Tom Deprez wrote:
> 
> In which .py file can I find more information on it? eg. how to use it.
> 
> Thanks Itamar,
> 
> Regards, Tom.
> 
> At 19:04 08/03/2000 +0200, Itamar Shtull-Trauring wrote:
> >Tom Deprez wrote:
> >
> >> Can a DTML Method also return a result as an External Method can?
> >
> ><dtml-return>'s what you want.
> >
> >--
> >Itamar S.T.  itamars@ibm.net
> >
> >_______________________________________________
> >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 )
> >
> >
> 
> _______________________________________________
> 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 )