OK, so I switched to the DynaValidatorForm. Still no joy. There is
something I can't explain, though. I stuck this in my action code:
DynaValidatorForm f = (DynaValidatorForm)form;
System.out.println("??" + f.getClass().getName());
And it prints out "org.apache.struts.validator.DynaV
--- Michael Muller <[EMAIL PROTECTED]> wrote:
>
> I can't get the validation framework to do anything.
>
> I'm speculating that the validation.xml file isn't being read; I tried
> putting a rule that doesn't exist and then some arbitrary syntactically
> incorrect text in the file, and I didn't
Sounds like you made the same mistake as me, not reading the Javadoc for
DynaValidatorActionForm properly. To use this you specify the action
mapping PATH in the validation xml form tag, not the name. If you want
to specify validation against your form-bean names, then use
DynaValidationForm, n
I can't get the validation framework to do anything.
I'm speculating that the validation.xml file isn't being read; I tried
putting a rule that doesn't exist and then some arbitrary syntactically
incorrect text in the file, and I didn't get an error anywhere I could
find. On the other hand, t
4 matches
Mail list logo