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),
DynaValidatorActionForm validates by looking for the matching URI in the
Struts Config.
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
=error.validation.password/
/field
/form
--
View this message in context:
http://struts.1045723.n5.nabble.com/DynaValidatorActionForm-using-Apache-Commons-Validator-project-tp5712255p5712258.html
Sent from the Struts - User mailing list archive at Nabble.com
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
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,
I am not sure I understand.
--
View this message in context:
http://struts.1045723.n5.nabble.com/DynaValidatorActionForm-using-Apache-Commons-Validator-project-tp5712255p5712261.html
Sent from the Struts - User mailing list archive at Nabble.com
in context:
http://struts.1045723.n5.nabble.com/DynaValidatorActionForm-using-Apache-Commons-Validator-project-tp5712255p5712262.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr
Struts looks for the Validator configuration based on a key. The key is
selected by the form. The key can either be the URI
(DynaValidatorActionForm) or the Form Name (DynaValidatorForm).
Your config file is obviously using bean names:
form name=loginFormBean
So you need the correct Form
8 matches
Mail list logo