[Dev] Re: onItemLoad not getting called
john at osafoundation.org
Thu Feb 17 18:36:21 PST 2005
The problem is that you also need to add your Python attribute
initialization to onItemCopy, since when the ItemCollection is getting
copied to the soup neither it's constructor nor it's onItemLoad is called.
Andi Vajda wrote:
> The onItemLoad(self, view) method needs to be defined on the class of
> the item, not the Kind and is invoked when the item is loaded from the
> repository, not during parcel loading.
> On Thu, 17 Feb 2005, John Anderson wrote:
>> I have an Item with multiple super kinds. One of my super kinds has
>> an onItemLoad which isn't getting called when the item is loaded.
>> Does this seem like a bug?
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> Open Source Applications Foundation "Dev" mailing list
More information about the Dev