+-------[ 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
[EMAIL PROTECTED]
_______________________________________________
Zope maillist  -  Zope@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 )

Reply via email to