You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Phase Web and Multimedia <ma...@phase.ws> on 2002/04/04 20:53:52 UTC

DynaValidatorActionForm and DynaValidatorForm

Can someone please give me a snippet of code that uses these classes
properly. I have found no examples. Perhaps because it is new, maybe. But, I
have tried to use it like the DynaActionForm in my form-bean declaration and
I have tried to cast it from the ActionForm form in my Action class to both
DynaValidatorActionForm and DynaValidatorForm. On the first one I get a null
pointer exception on the getProperty(...) and on the latter I get
ClassCastExcpetion. I am not sure what I am doing. But, can someone provide
an explanation or example. I've got a better understanding of the
DynaActionForm. Now, I need some help with DynaValidatorActionForm and
DynaValidatorAction. Also, why the two different DynaValidator classes. What
are the differences between the two besides logging?

Brandon Goodin
Phase Web and Multimedia
P (406) 862-2245
F (406) 862-0354
mail@phase.ws
http://www.phase.ws


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>