RE: ArrayList problem

2003-11-05 Thread Derek Richardson
Look at lazyList(): http://jakarta.apache.org/commons/collections/api/org/apache/commons/collections/ListUtils.html -Original Message- From: Jian Dai [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 3:40 PM To: Struts Users Mailing List Subject: RE: ArrayList problem If you

RE: ArrayList problem

2003-11-05 Thread Jian Dai
: ArrayList problem hello jack, thanks for the input, so how do i rectify that (which amounts to spoon feeding) but now iam shameless :(. HELP Jian Dai wrote: > The ArrayList.ensureCapacity(int min) does not change the size. So even > the minimum capacity of this array increase, this s

Re: ArrayList problem

2003-11-05 Thread Rajat Pandit
Users Mailing List; [EMAIL PROTECTED] Subject: ArrayList problem hello, i am stuck in a simple piece of code, for which i have spent the last 2hrs and i seriously dont know what is wrong with this. this is the setter method for an indexed property that i am using. sinci i dont know how the size

RE: ArrayList problem

2003-11-04 Thread Jian Dai
than index+1 in your case. Jack -Original Message- From: Rajat Pandit [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 8:45 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: ArrayList problem hello, i am stuck in a simple piece of code, for which i have spent the

ArrayList problem

2003-11-04 Thread Rajat Pandit
hello, i am stuck in a simple piece of code, for which i have spent the last 2hrs and i seriously dont know what is wrong with this. this is the setter method for an indexed property that i am using. sinci i dont know how the size required i am checking if the index is >= the size and in that ca

RE: DynaValidatorForm ArrayList problem

2003-10-23 Thread Mark Thill
2, 2003 5:37 PM To: Struts Users Mailing List Subject: Re: DynaValidatorForm ArrayList problem Here is a portion of the following link: If need be, you can extend the DynaActionForm to add custom validate and reset methods you might need. Simply specify your subclass in the struts-config inste

Re: DynaValidatorForm ArrayList problem

2003-10-22 Thread Barry Volpe
> From: "Mark Thill" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, October 22, 2003 3:19 PM > Subject: DynaValidatorForm ArrayList problem > > > > I'm having a problem with checkboxes. I have an ArrayList of objects in >

Re: DynaValidatorForm ArrayList problem

2003-10-22 Thread Barry Volpe
subclass in the struts-config instead of org.apache.struts.validator.DynaValidatorForm or DynaActionForm if you are not validating Barry - Original Message - From: "Mark Thill" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 22, 2003 3:19 PM Subject

DynaValidatorForm ArrayList problem

2003-10-22 Thread Mark Thill
I'm having a problem with checkboxes. I have an ArrayList of objects in which the objects have a getter and setter for this Boolean value which is basically the on or off for the checkbox. The checkbox displays correctly, but I can never uncheck the box. Here is the code I'm trying to use: I