[Fwd: Re: ActionForm with ArrayList - Validation Problem]

2005-01-19 Thread Robert Taylor
This was a reply directly to me which I'm forwarding to the list so future users can leverage the solutions provided in this message. original message --- Robert, It is hard to find in the archives, but while I was reading the other messages posted lately I found someone having the same proble

Re: ActionForm with ArrayList - Validation Problem

2005-01-19 Thread Robert Taylor
This is a common and well documented idiom, but can be hard to find in the archives ;) The problem is that to display the form with the select list, you have to prepare the select list before displaying the page. When the user submits the form and validation fails, Struts will forward to the input

ActionForm with ArrayList - Validation Problem

2005-01-19 Thread Bernard Willemot
Hi, Not sure it is the best practice... I have a for to edit a user called UserForm. This form contains a popup () with Customers. I didn¹t find an easier way to include the data of the popup in the UserForm: Public class UserForm extends ActionForm { protected ArrayList customer_p