[Zope] Passing parameters to a dtml method from zpt

David Siedband david at calteg.org
Tue Sep 21 14:55:05 EDT 2004


<a tal:attributes="href string:sendMail?email=${email}"....>email</a>

--
David




On Sep 21, 2004, at 8:28 AM, Laura McCord wrote:

> I have a dtml method, sendMail, that sends out an email:
>
> <dtml-sendmail smtphost="MailHost">
> To:
> From:
> Subject: Email
> </dtml-sendmail>
>
> I need to pass a value to be used in the To: section of this sendmail.
> from the zope page template I have this:
>  <a tal:attributes="href string:sendMail?email=email"....>email</a>
>
> Can anyone help me with this?
>
> Thanks,
>  Laura
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>



More information about the Zope mailing list