Re: questions concerning Lists and indexes and lazy lists, oh my

2005-04-05 Thread Rick Reumann
Wendy Smoak wrote the following on 4/5/2005 3:50 PM: In light of that, I would bet the BeanUtils code always uses the getWhatever() method, and then gets/sets the requested index directly on the List or array. Seems logical to me, but I have not run it in a debugger or looked at the code to be cer

Re: questions concerning Lists and indexes and lazy lists, oh my

2005-04-05 Thread Wendy Smoak
From: "Rick Reumann" <[EMAIL PROTECTED]> > > My question is how does Struts/BeanUtils handle two get methods that > have different signatures but the same method name, and what exactly is > going on? > See section 7.2 of the JavaBeans Specification for info on indexed properties. The indexed get/

questions concerning Lists and indexes and lazy lists, oh my

2005-04-05 Thread Rick Reumann
Ok, I thought I had a pretty firm grasp on the use of Lists for form bean properties and everything works fine in my applications that use Lists for properties. (If I need to make sure the List can grow I wrap them in a LazyList in the reset method like.. //reset(..) myList = ListUtils.lazyList