Re: Struts 1.2 - ActionForm.validate(...)

2004-08-25 Thread Sebastian Ho
I read it somewhere the best thing to do now is to use actionerror for
pure error and use actionmessage for all the other purpose while we wait
for next struts release.

sebastian ho


On Wed, 2004-08-25 at 16:10, Shinobu Kawai wrote:
> Hi Lic,
> 
> > In Struts 1.2, the ActionForm.validate return ActionErrors. However, 
> > ActionErrors will be deprecated after 1.2. If I want to valid the data in 
> > ActionForm, what I can do?
> Where does it say that ActionErrors will be deprecated?  I know that
> ActionError will be deprecated...
> 
> Best regards,
> -- Shinobu Kawai
> 
> --
> Shinobu Kawai <[EMAIL PROTECTED], [EMAIL PROTECTED]>
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Struts 1.2 - ActionForm.validate(...)

2004-08-25 Thread Shinobu Kawai

Hi Lic,

> In Struts 1.2, the ActionForm.validate return ActionErrors. However, 
> ActionErrors will be deprecated after 1.2. If I want to valid the data in 
> ActionForm, what I can do?
Where does it say that ActionErrors will be deprecated?  I know that
ActionError will be deprecated...

Best regards,
-- Shinobu Kawai

--
Shinobu Kawai <[EMAIL PROTECTED], [EMAIL PROTECTED]>




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Struts 1.2 - ActionForm.validate(...)

2004-08-25 Thread Matthias Wessendorf
ErroR is deprecated.
Errors not ...
http://struts.apache.org/api/org/apache/struts/action/ActionError.html

http://struts.apache.org/api/org/apache/struts/action/ActionErrors.html


how ever, on bugzilla there is a discussion on that :)
http://issues.apache.org/bugzilla/show_bug.cgi?id=29679

> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Lic
> Sent: Wednesday, August 25, 2004 8:49 AM
> To: [EMAIL PROTECTED]
> Subject: Struts 1.2 - ActionForm.validate(...)
> 
> 
> In Struts 1.2, the ActionForm.validate return ActionErrors. However, 
> ActionErrors will be deprecated after 1.2. If I want to valid 
> the data in 
> ActionForm, what I can do?
> 
> Struts newbie
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Struts 1.2 - ActionForm.validate(...)

2004-08-25 Thread Lic
In Struts 1.2, the ActionForm.validate return ActionErrors. However, 
ActionErrors will be deprecated after 1.2. If I want to valid the data in 
ActionForm, what I can do?

Struts newbie


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]