[Helma-user] Invoking onPersist of Base-Prototype

Hannes Wallnoefer hannes at helma.at
Wed Sep 5 10:27:50 CEST 2007


Hi Anton,

2007/9/5, Anton Pirker <helma at gmiatlich.net>:
> Hi List!
>
> I have a base prototype from which i inherit quite a bunch of other
> prototypes.
> Now, if I store an object of one of the child-prototypes i want the
> onPersist()-function of the base-prototype to be called.

This is what should happen by default. If the parent prototype
onPersist() isn't called (and the child proto doesn't override it),
then it's a bug.

hannes


More information about the Helma-user mailing list