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 results in a link named as the true filename for ex: filename.txt but the link sends me to mysite/<span tal:conent="result/url">url goes here</span> instead of: mysite/subdir/filename.txt is there another way or another syntax to put de dtml in the href? thanks, Olivier
+-------[ 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@theinternet.com.au
participants (2)
-
Andrew Milton -
Olivier Wambacq