You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by nn <ne...@helbig.dk> on 2003/10/26 08:21:48 UTC
ActionMessage and the Validator
I read that the ActionErrors and ActionError classes will be deprecated by ActionMessage and ActionMessages..
Question 1:
How will this influence the signature for a validator which today has ActionErrors as one of the parameters:
(java.lang.Object,
org.apache.commons.validator.ValidatorAction,
org.apache.commons.validator.Field,
org.apache.struts.action.ActionErrors,
javax.servlet.http.HttpServletRequest,
javax.servlet.ServletContext)
Question 2:
Since all the predefined validators use the ActionError(s) classes, I'd still have to handle the ActionError queue in my jsp-pages, even if I start writing my own validations using ActionMessage(s).
Since I'd only like to handle one queue in my jsp-pages I feel we have a problem here.
Did I misunderstand something? Comments are very welcome.
/Keld
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org