Re: Populating growing List

2005-05-23 Thread Dakota Jack
Probably not a good idea to be populating session scope unnecessarily. On 5/23/05, Nils Liebelt <[EMAIL PROTECTED]> wrote: > What a bummer. I got the wrong scope!?! If I put the Form in session scope > it works fine. Gonna borrow a tie from my boss so I can hang myself... > > > Cheers, > > Nils

RE: Populating growing List

2005-05-23 Thread Nitish Kumar
eption } return super.get(index); } } obviously this is simplified form of that class. Thanks and Regards, Nitish Kumar -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Monday, May 23, 2005 7:27 PM To: Struts Users Mailing List Subject: Re: Populating growing List

Re: Populating growing List

2005-05-23 Thread Niall Pemberton
The reason this isn't working lies in how Commons BeanUtils works. What you read in the wiki works for setting the properties of nested "indexed beans"- not straight forward indexed properties. In this circumstance it will just call the indexed setter so for it to work you need your lazy code there

RE: Populating growing List

2005-05-23 Thread David Suarez
On the surface it looks like the code is wrong. Index 0 represents a size of 1 (zero-based array). Once you account for that, your array should grow as you desire. Regards...djsuarez -Original Message- From: Nils Liebelt [mailto:[EMAIL PROTECTED] Sent: Monday, May 23, 2005 6:50 AM To:

RE: Populating growing List

2005-05-23 Thread Nils Liebelt
27;Struts Users Mailing List' Subject: RE: Populating growing List dont think its a great idea, If I start putting beans in session , every time I have a collection in form bean, I am not sure how long my application is going to run. Thanks and Regards, Nitish Kumar -Original Message

RE: Populating growing List

2005-05-23 Thread Nils Liebelt
27;Struts Users Mailing List' Subject: RE: Populating growing List dont think its a great idea, If I start putting beans in session , every time I have a collection in form bean, I am not sure how long my application is going to run. Thanks and Regards, Nitish Kumar -Original Message

RE: Populating growing List

2005-05-23 Thread Nitish Kumar
] Sent: Monday, May 23, 2005 5:45 PM To: 'Struts Users Mailing List' Subject: RE: Populating growing List If your form bean is being used in multiple page, you can put the form in session and clear the collection in reset method if required. That will serve the purpose. In my application we

RE: Populating growing List

2005-05-23 Thread Sachin Bhutada
-Original Message- From: Nitish Kumar [mailto:[EMAIL PROTECTED] Sent: Monday, May 23, 2005 5:44 PM To: 'Struts Users Mailing List' Subject: RE: Populating growing List dont think its a great idea, If I start putting beans in session , every time I have a collection in form bean

RE: Populating growing List

2005-05-23 Thread Nitish Kumar
, 2005 5:39 PM To: 'Struts Users Mailing List' Subject: RE: Populating growing List What a bummer. I got the wrong scope!?! If I put the Form in session scope it works fine. Gonna borrow a tie from my boss so I can hang myself... Cheers, Nils -Original Message- From: Ni

RE: Populating growing List

2005-05-23 Thread Nils Liebelt
What a bummer. I got the wrong scope!?! If I put the Form in session scope it works fine. Gonna borrow a tie from my boss so I can hang myself... Cheers, Nils -Original Message- From: Nils Liebelt [mailto:[EMAIL PROTECTED] Sent: Monday, May 23, 2005 1:50 PM To: 'Struts Users Mailing L

RE: Populating growing List

2005-05-23 Thread Nils Liebelt
What a bummer. I got the wrong scope!?! If I put the Form in session scope it works fine. Gonna borrow a tie from my boss so I can hang myself... Cheers, Nils -Original Message- From: Nils Liebelt [mailto:[EMAIL PROTECTED] Sent: Monday, May 23, 2005 1:50 PM To: 'Struts Users Mailing L