Niall, Struts extends looks promising..getting the index value works when that field actually extends from some other form..
I have a form with collection of 'PERSON' in it. And every person has property like first name, last name, ssn. Now I want to validate if ssn for all the 'PERSON's are entered. So field to be validated will be ssn so I cant make out from struts extend documentation how to do it with out actually extending from any other form. Thanks. TJ. -----Original Message----- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Thursday, September 28, 2006 12:03 AM To: Struts Users Mailing List Subject: Re: index value in custom validation message ? Theres nothing in struts to help you do this - but the extends validator can but it only does server side - see the indexed example: http://www.niallp.pwp.blueyonder.co.uk/strutsvalidatorextends.html#index ed Niall On 9/28/06, Tejesh Shetty <[EMAIL PROTECTED]> wrote: > I am using struts 1.2.8, and I am validating an indexed property and > everything works just fine. When validation fails for an item I want to > display action message saying Item <i> is required, I was finding a way > to do that couldn't find anything. > > Can anyone please suggest how to get this working? > > TJ. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]