[Zope] mailhost location problem

Chris Withers chrisw@nipltd.com
Mon, 07 Oct 2002 14:13:10 +0100


Ben Avery wrote:
> 
> out of curiosity, is there no equivalent Python expression (e.g. 
> "foo.bar", "_foo.bar" etc) I could just put in a tag, that does the same as
> <dtml-with foo>
>   <dtml-sendmail mailhost="bar">

DTML is crufty as hell. You're assuming that the mailhost attribute of the 
sendmail tag can actually take a python expression. It can't.

> which seems a bit like hard work, I just want DTML to handle 
> presentation, rather than making it do anything more.

I'd switch to ZPT myself ;-)

cheers,

Chris