Yeah, with the collections I was writing method signatures that would take 
indexes, but convert them to Integer class objects to serve as the keys.  My 
idea was, if I provide the method signature that is the same as the array 
stuff, shouldn't it work with an underlying collection.  I don't recall the 
details, I was fairly sure it should work but bailed out on it due to time 
constraints of getting the work done.  Probably shouldn't be discussing it here 
with out the details in my head.  Sorry.



 --- On Mon 02/06, Niall Pemberton < [EMAIL PROTECTED] > wrote:
From: Niall Pemberton [mailto: [EMAIL PROTECTED]
To: user@struts.apache.org, [EMAIL PROTECTED]
Date: Mon, 6 Feb 2006 15:39:49 +0000
Subject: Re: Struts Form Population

Indexed properties strictly speaking should be arrays - although inearlier JDK 
versions they worked with Lists as well - BeanUtils allowsfor lists or 
arrays.Collections don't have a position or index - so you can't haveCollection 
backed index properties.NiallOn 2/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 
wrote:> Along these lines, a while back I was trying to get my forms to work 
with collection-backed indexed properties, but never had any luck.  Does anyone 
know how to do that?  I kind of thought maybe I was just not getting method 
signatures 
right.---------------------------------------------------------------------To 
unsubscribe, e-mail: [EMAIL PROTECTED] additional commands, e-mail: [EMAIL 
PROTECTED]

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!



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

Reply via email to