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, 16 Jun 2006 18:07:34 GMT
You can ignore this thread.  The issue with validator was found on bugzilla at:
http://issues.apache.org/bugzilla/show_bug.cgi?id=23372
via another Struts thread.  "The Mail Archive" site is nice for finding/searching mailing
lists.

-----Original Message-----
From: Givler, Eric [mailto:egivler@state.pa.us]
Sent: Friday, June 16, 2006 8:32 AM
To: Struts Users Mailing List
Subject: RE: newbie question on indexed properties and validation


I can provide a zip of the workspace I was doing for this if that would help.  I just can't
seem to get the multiple errors.  Can the html:text tag determine that a row's value is wrong
in a multi-record form bean and color it?  How would it know if it's only getting back one
error as opposed to a number of them?

Also, JDeveloper (10.1.2.1) refuses to recognize the errorStyle tag, though if I open the
struts-html.tld file that is in WEB-INF, it appears directly under the tag class that JDeveloper
says does not support it.

-----Original Message-----
From: Givler, Eric [mailto:egivler@state.pa.us]
Sent: Thursday, June 15, 2006 9:44 AM
To: Struts Users Mailing List
Subject: newbie question on indexed properties and validation


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