5 May
2004
5 May
'04
1:25 p.m.
that doesn't work: _properties=( {'id':'self.question','type':'string','mode':'w'}, ) and {'id':self.question,'type':'string','mode':'w'}, neither :( On Wed, 5 May 2004 08:03:44 -0500, <zope@netchan.cotse.net> wrote:
def __init__(self, id, question, responses): self.id=id self._question = question self._responses = responses
You have to use self.question, self.response, because these are the attribte names you give in the properties definition:
_properties=( {'id':'question','type':'string','mode':'w'}, {'id':'responses','type':'lines','mode':'w'}, )
Regards, Sandor