Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
DynaActionForm and Validation
Joined: Mar 06, 2006
Jun 10, 2006 02:00:00
I am looking the concept dynaActionForm in the Struts that help a developer to reduce the number of the ActionForm for each form.
As in the validate() method of the Action Form there is validation of formfields. But we are using the DynaActionForm so where should the validation of the form fields ...........
Means, in case of DynaActionForm where should the validation of FormField done ................
Thanks in advance for the answer
Joined: Jul 26, 2005
Jun 11, 2006 04:44:00
They are many ways to validate the field attributes which are part of DynaActionForm. The following links might help you to achieve this.
Validation in action class#
Using Validator Plug - In
Joined: Dec 16, 2004
Jun 12, 2006 01:14:00
When U want to validate dynaActionForm , DynaValidatorActionForm would be very useful i feel.
I've used that in my project, validations are so simple and no need to worry abt them at all.
here are the links if u want to read abt...
subject: DynaActionForm and Validation
multiple forms, one action class, using validator
anybody who know struts' DynaActionForm?
For struts form validation
validator-rule.xml how to guarantee the text-field is a double?
What is DynaValidatorForm
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013