--On 30. Juli 2007 10:16:35 -0400 [EMAIL PROTECTED] wrote:
Hi; I´m trying to increment a variable in a page template. Here´s the general idea in my code: <div metal:define-macro="main" tal:define="x python:0">
Why do you need a counter in ZPT? This is absolutely one of the worst things you can go in ZPT. Describe your concrete use-case and we might think about a suitable and clean solution. But thinking about counters in ZPT is a waste of life-time. -aj
pgptY4bmZjZNI.pgp
Description: PGP signature
_______________________________________________ Zope maillist - [email protected] 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 )
