10 Jun
2002
10 Jun
'02
2:10 p.m.
Max M wrote:
Chris Withers wrote:
You want:
<td><a href="dummy" tal:attributes="href item/absolute_url" tal:content="item/title">Dummy Title</a></td>
I can't help to wonder why there isn't a common "function" for an idiom as comon as this ... neither in dtml nor Zpt.
It's a rather longwinded way of writing something that should be as simple as "obj.abs_url_2_html()"
write a python script ;-) <td><a tal:replace="here/abs_url_2_html">Dummy Title</a></td> cheers, Chris