[Zope] Global Variables
Small Business Services
toolkit at magma.ca
Wed Jan 21 08:01:19 EST 2004
"Chris Withers" <chris at simplistix.co.uk> wrote:
> > <dtml-call "temp_folder.manage_addProperty('newtestpropvar', 'initial
> > contents', 'string')">
> >
> > <dtml-call "REQUEST.set('ownerid', 'testpropvar')">
> > <dtml-if "temp_folder.getProperty(ownerid, 'none') != 'none'">
> > <dtml-var ownerid> exists<br>
> > <dtml-else>
> > <dtml-var ownerid> does not exist<br>
> > </dtml-if>
>
> This really should in in python scripts :-(
Why put this code in python scripts? Is there some performance benefit or
other reason?
Jonathan
More information about the Zope
mailing list