Re: __defineGetter__

Kris Leite <[email protected]>
Newsgroups gmane.comp.java.helma.general
Message-ID <[email protected]>
Hi Hannes,

>This is something that should be taken car of for the next major
>release after 1.6.

That is fine, I have already have put a modification in my version 1.6 
to allow this
since I need to see all properties of a HopObject not just the ones 
defined in
the type.properties file.

Thanks for considering the change,
Kris


Hannes Wallnoefer wrote:
> 2007/4/3, Kris Leite <[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.
>>>
>>>       
>> +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.
>>
>>     
>
> That's actually quite a different issue than exposing properties to
> skins. I'd actually like to have this changed, but messing with the
> semantics of methods without knowing all the consequences on existing
> code this shortly before a release is a no-no.
>
> This is something that should be taken car of for the next major
> release after 1.6.
>
> hannes
> _______________________________________________
> Helma-user mailing list
> [email protected]
> http://helma.org/mailman/listinfo/helma-user
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.