[Zope] Another Annoying question...Name Space related I think...

Kevin Dangoor kid@kendermedia.com
Thu, 28 Oct 1999 22:04:08 -0400


-----Original Message-----
From: Edward Muller <emuller@PaineWebber.com>
To: 'zope@zope.org' <zope@zope.org>
Date: Thursday, October 28, 1999 8:03 PM
Subject: [Zope] Another Annoying question...Name Space related I think...


><dtml-with "FWAEvent.createInObjectManager(REQUEST['id'],REQUEST)">
>       <!--#call "propertysheets.Basic.manage_editProperties(REQUEST)"-->
></dtml-with>
>(Although I'm still not really sure what the above is supposed to do)

This is the one you should generally use. To change the properties on a
ZClass instance, you need to call manage_editProperties or
manage_changeProperties *on the specific propertysheet* that you are looking
to change. The difference between manage_editProperties and
manage_changeProperties is that manage_editProperties will change any
property that it can find a value for in REQUEST. manage_changeProperties
can work like this, too. Or you can specify specific properties to change
<dtml-call "propertysheets.MyPropSheet.manage_changeProperties({'title' :
'foo'})">

(sets the "title" property on MyPropSheet of this ZClass instance to "foo".)

HTH,

Kevin