I was wondering if Struts provided any functionality to recieve the values of 
nested bean properties back from the view via the request. For example a simple test 
jsp I have.

<nested:form action="testDyna">
   <nested:iterate property="aList">
      <nested:text property='value'/>
   </nested:iterate> 
   <html:submit/> 
</nested:form>

generates this source   

<form name="TestForm2" method="post" action="/TestApp/test.do">
  <input type="text" name="aList[0].value" value="a">
  <input type="text" name="aList[1].value" value="b">
  <input type="text" name="aList[2].value" value="c">
  <input type="submit" value="Submit"> 
</form>

but with a request scope specified for the action mapping it can't populate the value 
attribute after the submit. Is there a different solution to this besides specifing 
session scope for all action mappings, or constantly scrubbing the session?

Thanks,
Matt

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to