[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