Hello, I need to display an unknown number of input fields to the user within a logic:iterate tag. The field corresponds to a form property 'comment', say. So in the corresponding Struts form I will need to have a getter and setter that sets and gets a String AND a Collection like so: public void setComment(String s) {comment = s;} public String getComment(){return comment;} AND public void setComments(Collection c) {comments = c;} public Collection getComment(){return comments;} The question is, if my tag looks like this: <logic:iterate id="aRow" type="com.company.ABean" name=aBean" > Enter your comment here:<html:text property="comment" /> </logic:iterate> how will my comments property setter get called automatically? (notice comments, not comment). Maybe I shd be using <html:text property="comments" /> instead of <html:text property="comment" />
Is there a sample for this kind of processing? Thanks IA Pankaj -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>