Here is an example of subclassing DynaValidatorActionForm with
validation-rules.xml outlined
Miren-
Great article located here detailing validator-rules.xml identified
validator.xml
which contains field depends clause identifiying the field to validate
good example of inlining JavaScript thru <javascript> <![CDATA[
function
http://www.devarticles.com/c/a/Java/Validator/6/
HTH,
Martin-
----- Original Message -----
From: "Miren Urkijo" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Wednesday, October 12, 2005 9:29 AM
Subject: validator. i need help
Hello
i am trying to beging using validator, struts validator.
i have some problems:
into my struts-config.xml file i have some entryes like this:
<form-bean name="ofertaForm" type="com.domain.myOfertaForm" />
Well i want to use the validator. the type of the forms must be
org.apache.struts.validator.DynaValidatorActionForm ?? if it must be of
this form how i make the reference to my com.domain.myOfertaForm?
Can anybody send me one example of the validator.xml and
validator-rules.xml files? i want to see one example for making my examle.
Thanks. I need help
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]