[Zope] dtml result in href

Olivier Wambacq olivier.wambacq at naturalsciences.be
Wed Mar 8 09:35:52 EST 2006


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



More information about the Zope mailing list