[Zope3-dev] Re: tal:define="..." considered harmful?
Tonico Strasser
contact_tonico at yahoo.de
Mon Feb 13 07:20:31 EST 2006
Hi Jean-Marc!
I agree that a view should not be able to modify the data model. But I
think tal:define is a must have :)
For example: I need tal:define to define names for generic macros:
<ul tal:define="list main_navigation">
<li metal:use-macro="macros/li_repeat"/>
</ul>
The 'li_repeat' macro expects the name 'list'.
Tonico
More information about the Zope3-dev
mailing list