File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes DynaValidatorForm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "DynaValidatorForm" Watch "DynaValidatorForm" New topic


voidance krizcisp

Joined: Dec 27, 2006
Posts: 2
Hello everybody!

I am having troubles trying to validate data using DynaValidatorForms.

Here is the error:

The stack:

The struts-action.xml:

The DynaForm:

Note: BaseDynaValidatorForm extends DynaValidatorForm


By the way I am using Struts 1.1

If you need something else just tell me. I search in the forum the same problem but there wasn't an answer. Any help will be really apreciated!
Thanks in advance!
[ January 08, 2007: Message edited by: voidance krizcisp ]
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
This looks like it might be a problem with mixing versions. Are you 100 percent sure that the validator-rules.xml file you're using comes from the Struts 1.1 download? Or did you get it from a later version download?

Consultant, Sima Solutions
voidance krizcisp

Joined: Dec 27, 2006
Posts: 2
I don't know how you realized but you were right! Thanks a lot! Anyway it is still not working, I guess is because I am using DynaForms. So I'll check out my options.

Thanks again!
I agree. Here's the link:
subject: DynaValidatorForm
jQuery in Action, 3rd edition