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:

<span tal:define="global newRow item/newRow" tal:omit-tag="" />

Then I try and call newRow:

<p tal:replace="newRow" />

But it gives me the original value. Now, if I edit the page like this:

<span tal:define="global newRow item/newRow" tal:omit-tag="">
<p tal:replace="newRow" />
</span>

it gives me a different value (the one I expect and want). Obviously, my 
¨global¨ definition isn´t going global. What can I do to make it global; that 
is, call it outside of the span tag?
TIA,
Tony
________________________________________________________________________
Email and AIM finally together. You've gotta check out free AOL Mail! - 
http://mail.aol.com
_______________________________________________
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