I'm trying to get a handle on Zope and don't understand the rational behind the manage_changeProperties() method. Why, given an object called myObject with a title property, can I not change the title by saying simply: myObject.title='The new title'
On 18 Jul 2006 19:12:54 -0000, barrett-zope@smithweb.us <barrett-zope@smithweb.us> wrote:
Why, given an object called myObject with a title property, can I not change the title by saying simply:
myObject.title='The new title'
You can. Property sheets are aimed at ease of changing through the web; it is a simple schema for simple properties. -- Martijn Pieters
I couldn't reproduce this behavior. When I try to make such assignement ( myObject.title='The new title'), Zope returns this message *attribute-less object (assign or del) I'm using *Zope 2.7.6-final, python 2.3.4. *Jose Henrique * 2006/7/18, Martijn Pieters <mj@zopatista.com>:
On 18 Jul 2006 19:12:54 -0000, barrett-zope@smithweb.us <barrett-zope@smithweb.us> wrote:
Why, given an object called myObject with a title property, can I not change the title by saying simply:
myObject.title='The new title'
You can. Property sheets are aimed at ease of changing through the web; it is a simple schema for simple properties.
-- Martijn Pieters _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
barrett-zope@smithweb.us -
José Henrique -
Martijn Pieters