DynaValidatorForm vs DynaValidatorActionForm what's the difference?
dave sag
Ranch Hand
Joined: Feb 17, 2003
Posts: 47
posted
0
I am a bit confised about whn I would use a DynaValidatorActionForm vs a DynaValidatorForm. The only difference that I can see is that in the DynaValidatorActionForm (which extends DynaValidatorForm) is that in the validate method it calls
whereas in DynaValidatorForm the validate method calls
the key difference seems to be use of mapping.getPath() rather than mapping.getAttribute() could someone explain what the differences are and why you would choose to use one over the other.
JSF / Jini / Javaspaces / JDO - all rock in my opinion.
My understanding is that DynaValidatorActionForm will let you define different validations for different actions that share the same form. With DynaValidatorForm all actions that share the form must share the validation.