struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Jesse <alexander.je...@csfs.com>
Subject RE: <htm-:errors> and struts:erros>
Date Mon, 03 Dec 2001 12:15:07 GMT
Hi,

get the validator-package from David Winterfeldt and use the validators 
error-tags. That did the trick for me.

regards
Alexander Jesse

-----Original Message-----
From: dev4.java@panamp.de [mailto:dev4.java@panamp.de]
Sent: Monday, December 03, 2001 12:56 PM
To: struts-user@jakarta.apache.org
Subject: <htm-:errors> and struts:erros>


Hello every body,

in my action class I insert an error as follow:

errors.add("registration", new ActionError("error.registration.failed");
saveErrors(request,errors);


in the jsp file :

<html:erros>  //to get the errors displayed
how can I get only the error for a given action? or a given key?

I tried <html:errors property=registration >  // registration is the key
under which I saved the error
         </htnl:errors>   but it didn't work


Thanks for any help


Mohammed



--
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