[Zope] Assignment to Properties (not intuitive!)

Jay, Dylan djay@lucent.com
Fri, 23 Jul 1999 09:27:38 +1000


> -----Original Message-----
> From: Thomas Weiner [mailto:weiner@tu-harburg.de]
> Sent: Thursday, July 22, 1999 23:33
> To: zope@zope.org
> Subject: Re: [Zope] Assignment to Properties
> 
> 
> 
> 
> D.Neuber@CENIT.DE schrieb:
> > 
> > Hi.
> > 
> > I hope a simple question :
> > 
> > How can I assign a value to a property from a DTML-Method.
> > 
> > <!-- #  expr="prop1=1"--> is not the right way.
> > 
> > prop1 is a int property of the folder containing the DTML-Method.
>  
> Try <!--#call "manage_changeProperties(prop1=1)"--> in the 
> DTML method.

Is there any reason why the syntax can't just be <!--#call "prop1 = 1"-->.
Manage_changeProperties is not intuitive at all.