DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20888>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20888

Problem while setting values in a list of objects in an ActionForm

           Summary: Problem while setting values in a list of objects in an
                    ActionForm
           Product: Struts
           Version: 1.1 RC1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I have a form object with a member variable for an ArrayList of Beans. I'm 
trying to set properties for the bean using code such as 

<html:form method="get" action="/myform/save">
<logic:iterate id="mybean" name="MyForm" property="myList" type="MyTestBean">
<html:text name="mybean" property="name"/>
<html:text name="mybean" property="value"/>
</logic:iterate>
</html:form>
It can get the values corretly but it doesnt set the values on it.

However if I code it as follows, it works...
<html:text name="MyForm" property="myList[1].name"/>

Please help !!!

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

Reply via email to