We had the same problem. When you submit a form, only the information in form gets submitted and repopulated when there is a validation error. Since the list is not part of form submission, it is not saved any where. The same applies to disabled fields and dynamically generated labels. I asked this question before, the options I found at the time were 1. put the list in session or 2. repopulate the list using the prepare method
We ended up with option 1. I'd be interested to find out if there is better solution too. -----Original Message----- From: Vaibhav Khare [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 10:37 AM To: [email protected] Subject: Struts Validation issue Hi, I am using Struts validation framework in my project. My form becomes null whenever I try to do some validation. The validation works fine but the next time it comes on the UI, the list becomes null. Any help will be appreciated. example: <logic:present name="<%=formName%>" property="someList"> When I do the validation, this tag fails as the list comes null the second time.. Any help is highly appreciated. Thx -- View this message in context: http://www.nabble.com/Struts-Validation-issue-tp14255159p14255159.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

