actionforms and validate()

"Navyshny, Kiryl" <[email protected]>
Newsgroups gmane.comp.java.strutscx.user
Message-ID <[email protected]>
Hi all,

I found, that 

validate="true" for form bean in struts-config.xml 
and form description in validation.xml 
is not enough to provide validation process.

You need to execute formBean.validate(),
how it is in StrutsCX example:
com.cappuccinonet.strutscx.prototype.presentation.action.InfoUpdateAction.

Why it is necessary to invoke direct validate() function of ActionForm in
Action class ?

I suppose it is possibly to make such action direct after initialize
of form beans. It is better from my point of view to include such thing 
in StrutsCX core. Isn't it.

Thank you.

Best regards/Mit freundlichen Grüßen.

Kiryl Navyshny

Software Entwickler
Deutsche Automobil Treuhand GmbH
Helmuth-Hirth-Str 1.
73760 Ostfildern-Scharnhausen
Phone: +49 (0)711 / 4503 141
mailto:[email protected]
http://www.dat.de

 


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.