[Zope] dtml result in href
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/urlurl goes here/span span tal:conent=result/filenamefilename 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/urlurl 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 ___ 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 )
Re: [Zope] dtml result in href
+---[ 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/urlurl goes here/span | span tal:conent=result/filenamefilename goes here/span | /a This is DTML or a ZPT ? for a ZPT its; a tal:attributes=href result/url tal:content=result/filenamefile/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 )