Hi I'm having the same problem. Please let me know if you find a solution.
Thanks Deepak -----Original Message----- From: Struts Newsgroup [mailto:@[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 8:40 PM To: [EMAIL PROTECTED] Subject: Validating indexed properties? Subject: Validating indexed properties? From: Jose Quinteiro <[EMAIL PROTECTED]> === Say I have a JSP like this: <logic:iterate id="row" name="someBean" property="rows"> ... <html:text name="row" property="someProperty" indexed="true"/> <html:text name="row" property="someOtherProperty" indexed="true"/> ... </logic:iterate> "someBean" has a method getRows() that returns a Collection. This Collection has a method getRow(int) which returns an object with methods getSomeProperty(), and getSomeOtherProperty(). In validate.xml I have: <field indexedListProperty="rows" indexedProperty="row" property="someProperty" depends="required,date">... The preceding does not work. However, this does work (i.e., it validates the first someProperty): <field property="row[0].someProperty" depends="required,date">... What am I doing wrong? -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>