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"/>

The 'li_repeat' macro expects the name 'list'.


Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to