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:[EMAIL PROTECTED]] 
>>On Fri, 4 Jan 2002 [EMAIL PROTECTED] wrote:
>>
>>>Date: Fri, 4 Jan 2002 14:31:19 -0500 (EST)
>>>From: [EMAIL PROTECTED]
>>>Reply-To: Jakarta Commons Developers List 
>>><[EMAIL PROTECTED]>
>>>To: Jakarta Commons Developers List <[EMAIL PROTECTED]>
>>>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:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to