Ooops. You shouldn't need "your_context" -- just the URI after the context.
On Thu, Mar 21, 2013 at 4:32 PM, Paul Benedict <pbened...@apache.org> wrote: > As I said, DynaValidatorActionForm validates by looking for the matching > URI in the Struts Config. If you want to continue using that superclass, > your Validator XML contents must change to this: > > <form name="/your_context/your_executing_action"> > > Otherwise, switch your base class to DynaValidatorForm and keep your > Validator XML contents as-is. > > Paul > > On Thu, Mar 21, 2013 at 3:57 PM, J.V. <jvsr...@gmail.com> wrote: > >> >> Is DynaValidatorActionForm.java intended for use in extending Action >> classes or for use in extending Form classes? >> >> Does anyone have a working example where YourAction.java extends Action >> and this action uses YourForm.java where DynaValidatorActionForm is used? >> >> I have an app (Struts 1.3), that I want to move away from using >> MyForm.java / validator() method to declarative form validation using >> Apache Commons Validator project but have toiled and toiled to get it to >> work. >> >> Any help would be greatly appreciated. >> >> thanks >> >> >> J.V. >> >> ------------------------------**------------------------------**--------- >> To unsubscribe, e-mail: >> user-unsubscribe@struts.**apache.org<user-unsubscr...@struts.apache.org> >> For additional commands, e-mail: user-h...@struts.apache.org >> >> >