struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <lau...@holoweb.net>
Subject Re: When to use ValidationAware
Date Wed, 09 Jan 2008 08:40:51 GMT
TuomoS wrote:
> "ValidationAware classes can accept Action (class level) or field level error
> messages. Action level messages are kept in a Collection. Field level error
> messages are kept in a Map from String field name to a List of field error
> msgs."
> 
> I have two actions
> 
> Action A which renders the page and submits to Action B
> 
> Action B does validation and on failure chains back to Action A
> 
> Which one(s) should implement ValidationAware ?

Action B needs to do validation, therefore Action B needs to implement 
ValidationAware.

L.


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


Mime
View raw message