[Zope] Using DTML in filename_expr=" "

Trevor Toenjes zope@toenjes.com
Fri, 16 Nov 2001 14:33:56 -0500


ok. answered my own Q.
filename_expr="_.render(email)+'.vcf'">


> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
> Trevor Toenjes
> Sent: Friday, November 16, 2001 11:46 AM
> To: zope@zope.org
> Subject: [Zope] Using DTML in filename_expr=" "
> 
> 
> This should be simple, but has escaped me.
> What is the syntax to insert a variable into ""?
> 
> This is to name the file attachment to an email.
> I have tried the entity syntax(reserved for HTML), but nothing works.
> <dtml-boundary type="application/octet-stream" disposition="attachment" 
>    encode="base64"     filename_expr="'&dtml.-filename;'+'.vcf'">
> 
> TIA,
> -Trevor
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )