I'm using two select boxes to implement the user selection metaphor where one contains "available choices", and the other contains "selected choices".
If the form does not pass validation, I need to repopulate the "selected choices" from the array of its values, contained in the form bean. This is done in the action class that sets up all the data for the form. After I submit and validation fails, Struts forwards back to the input url, which is an action class. The problem is that the form object passed into perform() is null, so I can't get the array of values. What has me vexed is that after perform() forwards to the .jsp, all the form elements are populated as they were prior to submit, so the populated form exists, it's just not being passed in to perform(). I tried adding the name="formName" attribute to the mapping, but then Struts tries to validate the form on the GET, as shown by the debug log below: -Processing a GET for /standards/curriculum-coverage-form -Looking for ActionForm bean under attribute 'curriculumCoverageReport' -Creating new ActionForm instance of class '...standards.CurriculumCoverageReportForm' -Storing instance under attribute 'curriculumCoverageReport' in scope 'request' -Populating bean properties from this request -Validating input form properties -No input form, but validation returned errors Any insight into this would be greatly appreciated. The mapping is shown below. Thanks, -Jeff <action path="/standards/party-resources-form" type="...standards.PartyResourcesReportAction" scope="request" parameter="form"> <forward name="success" path="standards/party-resources-form.jsp"/> </action> <action path="/standards/party-resources-exec" type="...standards.PartyResourcesReportAction" name="partyResourcesReport" scope="request" parameter="exec" input="/standards/party-resources-form.action"> <forward name="success" path="standards/party-resources-exec.jsp"/> </action> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>