[Zope] zope product problem

Dominique Lederer lederer at dmc01.at
Wed May 5 08:52:47 EDT 2004


i´m just diving into zope product development and have troubles  
implementing the example "poll" product from the Zope Developer's Guide:

my class looks like this:

class PollProduct(SimpleItem, PropertyManager):

i´am initializing my class attributes like this:

def __init__(self, id, question, responses):
   self._question = question
   self._responses = responses

before that i define



       #{'label' : 'Test', 'action' : ''},
     ) + SimpleItem.manage_options + PropertyManager.manage_options

if i click on the "Properties" Tab in the ZMI i get this error
Error Type: AttributeError
Error Value: question

strange...i compared my product with some existing products and can´t find  
my mistake, maybe you see it with one look

tnx in advance!

More information about the Zope mailing list