RE: Use Indexed properties - Encounter IndexOutOfBound Exception

2005-03-25 Thread Slattery, Tim - BLS
I'm trying to use Strut indexed tag but keep getting java.lang.IndexOutOfBoundsException: Index: -9. It displays with correct values but when the form is submitted, I got the error. Below is a snip of my code. Do you know what's wrong with it? When you submit your form, the

RE: Use Indexed properties - Encounter IndexOutOfBound Exception

2005-03-25 Thread Phan, Hienthuc T (Rosetta)
, Tim - BLS [mailto:[EMAIL PROTECTED] Sent: Friday, March 25, 2005 12:11 PM To: 'Struts Users Mailing List' Subject: RE: Use Indexed properties - Encounter IndexOutOfBound Exception I'm trying to use Strut indexed tag but keep getting java.lang.IndexOutOfBoundsException: Index: -9

RE: Use Indexed properties - Encounter IndexOutOfBound Exception

2005-03-25 Thread Slattery, Tim - BLS
I thought when the form is submitted, Strut will re-construct the collection of objects with values from the input form. Therefore, I don't have to specify the Collection/List size in the form bean constructor. I can tell you from bitter experience that it does not work that way. The