20 Feb
2000
20 Feb
'00
9:42 a.m.
I intend to define a term class as a python product in zope, here is the python code : class term: def __init__(self, term, members=[]): self.term = term self.members = members def addMember(self, terms*): for t in terms: self.members.append(t) def listMembers(self): return self.members I do not know how to implement the addMember in Zope: I intend to have this : the user have a drop-down selection to select the term to add members to. And a list of all terms in the current folder is below with check box to let the user to choose (if the form can set the checkbox with the ismember relation is better). How can I do that? Rgs, Kent Sin