[Zope] zope product problem

Dominique Lederer lederer at dmc01.at
Wed May 5 09:25:19 EDT 2004


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 at 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



More information about the Zope mailing list