commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arron Bates <ar...@keyboardmonkey.com>
Subject Re: [PATCH] - PropertyUtils - bug 5639
Date Sat, 05 Jan 2002 04:34:17 GMT
Craig is right. List isn't mentioned. I checked it when I made the patch 
to see if it was meant to. But it certainly makes sense.

I've been asked a couple of times why the nesting extension didn't allow 
Lists when logic:iterate tag (strtus) did. There's a very real use for it.
I won't get back onto my "being defined by specs" rant. Not enough 
energy today.

Just truly happy that I finally have some code input to a jakarta 
project (what's that... two months now)

:)

Be cool peoples.


Arron.

Scott Sanders wrote:

>>From: Craig R. McClanahan [mailto:craigmcc@apache.org] 
>>On Fri, 4 Jan 2002 bayard@generationjava.com wrote:
>>
>>>Date: Fri, 4 Jan 2002 14:31:19 -0500 (EST)
>>>From: bayard@generationjava.com
>>>Reply-To: Jakarta Commons Developers List 
>>><commons-dev@jakarta.apache.org>
>>>To: Jakarta Commons Developers List <commons-dev@jakarta.apache.org>
>>>Subject: RE: [PATCH] - PropertyUtils - bug 5639
>>>
>>>>According to the JavaBeans spec, there *is* no such thing as an 
>>>>indexed List property :-).
>>>>
>>>>But I take your point -- if you want to go ahead and add 
>>>>
>>support for 
>>
>>>>this to getIndexedProperty() and setIndexedProperty(), I won't -1 
>>>>it.
>>>>
>>>I've not been keeping up well, but it seems to me that 
>>>
>>JavaBeans does 
>>
>>>have an indexed property. Now if the question is whether they're 
>>>implemented as an array or a List, I would think that the JavaBean 
>>>spec really shouldn't be caring about that.
>>>
>>Whether we like it or not, the JavaBeans spec *does* care about that:
>>
>>   http://java.sun.com/products/javabeans/docs/beans.101.pdf
>>
>>See sections 7.2 and 8.3.3, which are very explicit about indexed
>>
>properties being backed by an array, not a List.
>
>
>Understood.  Maybe we could just be pioneers here and maybe see this
>happen in an updated version of the JavaBeans spec?  I think it makes
>perfect sense myself, and if we 'innovate', maybe we can change the
>world ;-)
>
>Scott
>
>--
>To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>
>



--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message