[Zope] Displaying "Lines"? was: form to a email in a correct presentation ?

R. David Murray bitz@bitdance.com
Sat, 29 Jul 2000 12:30:59 -0400 (EDT)


On Fri, 28 Jul 2000, Tim Cook wrote:
> Other than iterating through the property is there a way to
> display or present the lines property for edit without the
> containing ['brackets', '&', 'ticks']? <s>

Not that I know of.  But the iteration is a pretty simple dtml-in
loop, so I guess nobody has had enough motivation to implement
a one line solution.

> Well it works as long as I tell the user they have to enter each
> item into the box seperated by commas enclosed in single-quotes
> and contained in the list brackets.
> YEAH RIGHT! <VBG>  That'll never fly.

Does that work?  I wouldn't expect it to.  The :lines coercion
expects the input to be CR separated strings, not the python string
representation of a sequence.  And you really wouldn't want dtml
to just eval the input to allow it to accept the python representation
<grin>.

--RDM