struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Givler, Eric" <egiv...@state.pa.us>
Subject RE: newbie question on indexed properties and validation
Date Fri, 23 Jun 2006 13:09:03 GMT
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:niall.pemberton@gmail.com]
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 <egivler@state.pa.us> 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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message