struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Vasilenko" <vasile...@soft-ukraine.com>
Subject Re: <html:errors/> question
Date Wed, 18 Dec 2002 15:47:11 GMT
As I understand this is for Action class.
In my sample i use DynaValidatorForm and
I must cath error in the jsp page.

----- Original Message -----
From: <shirishchandra.sakhare@ubs.com>
To: <struts-user@jakarta.apache.org>
Sent: Wednesday, December 18, 2002 3:04 PM
Subject: RE: <html:errors/> question


> do some thing like...
> public static void logErrorOnce(ActionErrors errors, String errorKey) {
> if (errors.get(errorKey).hasNext() == false) {
> logError(errors, errorKey);
> }
> }
>
> -----Original Message-----
> From: vasilenko [mailto:vasilenko@soft-ukraine.com]
> Sent: Wednesday, December 18, 2002 1:52 PM
> To: struts-user
> Cc: vasilenko
> Subject: <html:errors/> question
>
>
>
> Dear,
>
> Describe:
> I have for example 10 form field (with validaton required). I see in the
> jsp(<html:errors/>) 10 errors when I try to inut ntohing.
>
> Question:
> I  want to see in the jsp only for example 3 errors.
>
>
> Best regards,
> Dmitry.
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>


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


Mime
View raw message