[Helma-user] __defineGetter__

Hannes Wallnoefer hannesw at gmail.com
Wed Apr 4 09:14:27 CEST 2007


2007/4/3, Michael Platzer <michael.platzer at knallgrau.at>:
>
> > The reason this doesn't work is that property inspection from macros
> > on HopObjects only supports collections and properties defined in
> > type.properties. Since first and last are not in type.properties, the
> > resolution failse. Let's think about this restriction.
> >
> Any more thoughts on this? I would say +1 for dropping this restriction.
> I never fully understood its purpose anyways.

I guess it just reflected the thinking of the time of HopObject as
cearly typed objects. I still am unsure whether having extra
properties on persistent HopObjects is good design.

I'd like to hear more opinions on this, specifically regarding
exposure of non-defined properties to skins.

hannes


More information about the Helma-user mailing list