[Zope] assignment to form records

Andy McKay andy@agmweb.ca
Tue, 04 Mar 2003 15:49:33 -0800


>> > Error Type: TypeError
>> > Error Value: attribute-less object (assign or del)
> 
> 
> That's because whatever it is you're passing in for the value of Fields 
> doesn't have the attribute you're attempting to assign to.

It has that attribute but as part of Script (Python) security you cannot 
assign to it. eg: try this Script (Python)

script.title = 'Foo'

Not sure that it really provides more security than annoyance, but the 
idea is you have to call a function or use an API for that object.

Cheers
-- 
   Andy McKay