Re: setting beans from a form into a collection.

2005-01-26 Thread Rick Reumann
Todd Nine wrote the following on 1/26/2005 8:21 AM: Rick, I realized my error on the set/get for the indexed item. As a result, I changed my id to be id="billingList". Now BeanUtils fails because the collection is not initialized. The only work around I have been able to discover to resolve t

Re: setting beans from a form into a collection.

2005-01-26 Thread Todd Nine
Rick, I realized my error on the set/get for the indexed item. As a result, I changed my id to be id="billingList". Now BeanUtils fails because the collection is not initialized. The only work around I have been able to discover to resolve this is to determine the collection size from the req

Re: setting beans from a form into a collection.

2005-01-25 Thread Rick Reumann
I don't think you want to use indexed properties for this. If you used indexed properties you need to have set/get methods to handle them. In your case you should removed the indexed stuff and the whole list should submit and populate for you. Todd Nine wrote the following on 1/25/2005 2:52 PM:

setting beans from a form into a collection.

2005-01-25 Thread Todd Nine
Hi all, I am having an issue with marshalling a page's collection indexes back into the form object. I have a BillingForm object with multiple BlllingListItem beans. Here is an excerpt of my BillingForm object public class BillingForm extends AnnuityForm { private List billingList; public