[Zope] Global Variables

Chris Withers chris at simplistix.co.uk
Wed Jan 21 04:28:42 EST 2004


Small Business Services 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 :-(

Chris




More information about the Zope mailing list