Re: validation doesn't validate

2003-07-03 Thread Michael Muller
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

Re: validation doesn't validate

2003-07-03 Thread David Graham
--- 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

Re: validation doesn't validate

2003-07-03 Thread Adam Hardy
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

validation doesn't validate

2003-07-02 Thread Michael Muller
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