struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shirishchandra.sakh...@ubs.com
Subject RE: <html:errors/> question
Date Wed, 18 Dec 2002 13:04:01 GMT
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>


Mime
View raw message