struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 梁炳場 <pc.le...@gmail.com>
Subject ActionErrors inside validate of ValidatorForm?
Date Thu, 25 Aug 2005 07:17:55 GMT
validate() is a function of ValidatorForm

I have written some checking inside validate()
However validate returns ActionErrors.

However can I change it to ActionMessages
so that my checking inside in validate() still valid
when ActionErrors deprecates in the future?

And

Inside validate(),
The 1st statement is
ActionErrors errors = super.validate(mapping, request);

Can I rewrite it to ActionMessages?

Thank you in advance.

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


Mime
View raw message