[Dev] Re: onItemLoad not getting called

John Anderson john at osafoundation.org
Thu Feb 17 18:36:21 PST 2005


Hey Ted:

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.

John

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.
>
> Andi..
>
> 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?
>>
>> John
>>
>>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> Open Source Applications Foundation "Dev" mailing list
> http://lists.osafoundation.org/mailman/listinfo/dev




More information about the Dev mailing list