[kforge-dev] changes to domain object attributes: does this result in an update event
Rufus Pollock
rufus.pollock at okfn.org
Sat Dec 17 11:52:58 UTC 2005
Imagine i do the following:
reg = kforge.dom.DomainRegistry()
person = reg.persons['anna']
project = reg.projects['annakarenina']
memberAnna = project.members[person]
newRole = reg.roles['Friend']
# current role is developer
memberAnna.role = newRole
My question is: does this result in an onMemberUpdate event?
I suggest that it should and that in fact all **setting** of attributes
on domain objects should result in the raising of an update event for
that domain object (for those domain objects that have an update event).
Regards,
Rufus
More information about the kforge-dev
mailing list