Thanks, this is very much appreciated. Is this something that is going to make it into a Struts Base release?
-----Original Message----- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 11:15 AM To: Struts Users Mailing List Subject: Re: newbie question on indexed properties and validation Importance: High You can do this: http://www.niallp.pwp.blueyonder.co.uk/strutsvalidatorextends.html Niall On 6/15/06, Givler, Eric <[EMAIL PROTECTED]> wrote: > I was following this article (MS Powerpoint presentation by James Turner) > here: > http://www.strutskickstart.com/IndexedPropertiesandValidation.ppt > > When, I tried to cobble this all into a working example, if I left out > multiple values (in a four record grid), I'd get one struts validation error > back from validator. Is this the "normal" behavior when the properties are > indexed? > > My ultimate goal would be to either show the message: > LastName is required for record # {0} (and use the index here) > > OR: > use the new ErrorStyle tag and highlight any field in error and provide the > single error at the top. > > Can anyone point me to a working example of a multi record entry screen that > has this type of behavior, or even decent articles on multi-record edits with > validation/error handling (using validator or otherwise)? > > Thanks! > > Eric Givler > Department of Environmental Protection/PA > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]