I did not use the nested tag but you should be able to validate indexed
fields by specifying indexedProperty and indexedListProperty (the version of
the struts validator framework I use never uses the indexedProperty).
<field property="street"
indexedProperty="address"
indexedListProperty="addressList"
depends=..............
For more info check out
http://home.earthlink.net/~dwinterfeldt/revision.html for changes made on
9/25/2001.
-----Original Message-----
From: Jon.Ridgway [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 10:29 AM
To: ''Struts Users Mailing List' '
Subject: Validating nested:text fields in an iterate block
Hi All,
Is is possible to use the struts validator to validate a nested:text field
within an iterate block.
I can't see a way to do this; validation.xml wants the name of a property on
the form; but within an iterate block the field names are made on the fly -
ie address[0].street. Is it possible to define a
property="address[*].street" ?
Any pointers much appreciated.
Jon.
The contents of this email are intended only for the named addressees and
may contain confidential and/or privileged material. If received in error
please contact UPCO on +44 (0) 113 201 0600 and then delete the entire
e-mail from your system. Unauthorised review, distribution, disclosure or
other use of this information could constitute a breach of confidence. Your
co-operation in this matter is greatly appreciated.
--
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]>