[Zope] dtml result in href

Andrew Milton akm at theinternet.com.au
Wed Mar 8 09:41:54 EST 2006


+-------[ Olivier Wambacq ]----------------------
| another question.
| 
| when I create a link with a filename and url from a database.
| I do it like this:
| 
| <a href="<span tal:conent="result/url">url goes here</span>">
| <span tal:conent="result/filename">filename goes here</span>
| </a>

This is DTML or a ZPT ?

for a ZPT its;

<a tal:attributes="href result/url" tal:content="result/filename">file</a>

for DTML it would be;

<a href="<dtml-var "result.url">">.... etc

-- 
Andrew Milton
akm at theinternet.com.au


More information about the Zope mailing list