Re: __defineGetter__
Kris Leite <[email protected]>
| Newsgroups | gmane.comp.java.helma.general |
|---|---|
| Message-ID | <[email protected]> |
>> 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 > [email protected] > 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