12 Mar
2001
12 Mar
'01
5:13 p.m.
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 `------------------>