[Zope] zope product problem
Dominique Lederer
lederer at dmc01.at
Wed May 5 09:23:52 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
>
>
> __________ NOD32 1.750 (20040505) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.nod32.com
>
>
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
More information about the Zope
mailing list