Dynamic Validation in Struts with DynaValidatorForms

D

D. Mantelos

1. In my struts-config.xml I use a form bean of type DynaValidatorForm
with some properties.
2. In the validator.xml I defined these fields as required.
3. I DO NOT WANT TO WRITE ANY ACTIONFORM CLASS

Is it possible to define dynamic Form beans in the struts-config.xml
without creating explicitly a Form class and having automatically
validation defined in the validation.xml?

TIA
 
D

D. Mantelos

1. In my struts-config.xml I use a form bean of type DynaValidatorForm
with some properties.
2. In the validator.xml I defined these fields as required.
3. I DO NOT WANT TO WRITE ANY ACTIONFORM CLASS

Is it possible to define dynamic Form beans in the struts-config.xml
without creating explicitly a Form class and having automatically
validation defined in the validation.xml?

TIA


Thanks,

but I want to have automatically validation used as defined in the
validation.xml and without need to write a Form class.
Is this combination of Dynamic Forms and validation via validation.xml
possible?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,740
Latest member
AdolphBig6

Latest Threads

Top