[Helma-user] __defineGetter__

Kris Leite kleite at imcsoftware.com
Tue Apr 3 21:54:03 CEST 2007


>> 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.
>
>    michi
>
> _______________________________________________
> Helma-user mailing list
> Helma-user at helma.org
> http://helma.org/mailman/listinfo/helma-user
>
>   

+1 for dropping!  I just came across this issue yesterday when I was 
trying to
enumerate over a HopObject that had properties other than what was defined
in type.properties file.  I was very confused on what was going on. 

Thanks,
Kris


More information about the Helma-user mailing list