[Zope] Help...zope template problem

Paul Winkler pw_lists at slinkp.com
Wed Sep 1 18:43:01 EDT 2004


On Wed, Sep 01, 2004 at 04:13:02PM -0500, Laura McCord wrote:
> 
> However, I want my <a> to define the value of test because intially I
> need it to be equal to nothing 

ok, i'll take your word for that, but it's not evident from
the code you posted.

> and the <a> will define the value. But,
> this doesn't work because if I do this like you suggested after I close
> the link </a> the value of test will go right back to nothing.

YOu can add the "global" keyword as described in teh Zope Book,
in one of the two Page Templates chapters (I forget which). 
 
> So, I don't know if this is possible what I am trying to do. I need
> conditional statements basically. So, if test <div tal:condition=test>
> is true it needs to perform an operation. But to perform the operation
> it has to be triggered by the link.

don't really understand what you mean by "triggered by the link."
Is the link itself within some conditional tag?

-- 

Paul Winkler
http://www.slinkp.com


More information about the Zope mailing list