[Zope] File as EMail List
Casey Duncan
cduncan@kaivo.com
Mon, 12 Mar 2001 10:13:18 -0700
David Kyte wrote:
>
> Still trying to get my head round DTML Docs/Methods
>
> This won't work in a dtml method 'cos _ is not defined?
> Therfore can't get to string ;(
>
> > OK, if the list is a DTML document called "list" code like this should
> > work:
>
> > <dtml-in expr="_.string.split(list(), '\n')">
> > ..sendmail stuff...
> > </dtml-in>
>
You must be calling the method from an expression. Try passing the "_"
as an argument to the method call:
<dtml-call expr="mailMethod(arg1, arg2, _)">
--
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`------------------>