Hi,
I have a problem:
Struts config file has:
<form-beans>
<form-bean name="form"
type="org.apache.struts.action.DynaActionForm">
<form-property name="model"
type="com.mycomp.SecurityAdminModel"/>
</form-bean>
</form-beans>

On JSP I have:
<logic:iterate id="email"
property="model.currentPerson.contactInfo.emails"
name="form" >
  <html:text property="emailAddress" name="email" 
</logic:iterate>

It generates folowing HTML:
<input type="text" name="email[0].emailAddress"
value="[EMAIL PROTECTED]">
<input type="text" name="email[1].emailAddress"
value="[EMAIL PROTECTED]">

But when I submit the form actual values in a bean are
not updated. They are still the same.

What do I do wrong?

Thanks,
Eugene


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250

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

Reply via email to