struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Reumann <strut...@reumann.net>
Subject Re: dispatch action / validation
Date Wed, 01 Sep 2004 17:36:48 GMT
andmer@MUZE.com wrote:

> Is there a way for dispatch actions to have unique validation requirements
> based on the parameter?

It's easiest to just provide different action mapping names (which could 
still refer to the same DispatchAction class) and then use one of the 
ValidatorActionForms which will validate based on action name and not 
form name.

Also look at MappingDispatchAction in Struts 1.2

-- 
Rick

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


Mime
View raw message