--On 23. August 2007 13:47:15 -0400 [EMAIL PROTECTED] wrote:

Hi:
I have this code (editing out the extraneous) at the beginning of a page:

<body bgcolor="#ffffff"
      tal:define="newRow string:yes">

After calling some other variables (specifically rotating through a
changing ¨item¨ (for item in items...)), I try and change newRow:


Using 'global' is basically bad-style. It is even more bad-style to modify global variables in ZPT. Rethink your problem. If necessary move the related
code into a Python script.

-aj

Attachment: pgpZ69HCeLXYf.pgp
Description: PGP signature

_______________________________________________
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 )

Reply via email to