Hey guys Im having a bit of problems by applying my own validators.
The thing is that I create my validator class, for testing reasons the
calling method returns a false, this only for checkin if the validator
is working good.
But Im getting the following Exception.
Im using Struts 1.2.4 version
dateLicenciaMaestro() method in the ValidatorLicenciaMaestro class?
>
> ----- Original Message -
> From: "Metal KoRn" <[EMAIL PROTECTED]>
> To:
> Sent: Thursday, May 05, 2005 5:56 AM
> Subject: My OWN VALIDATOR
>
> Hey guys Im having a bit of problems
Hey guys Im having a bit of problems by applying my own validators.
The thing is that I create my validator class, for testing reasons the
calling method returns a false, this only for checkin if the validator
is working good.
But Im getting the following Exception.
Im using Struts 1.2.4 version
atorAction,
> org.apache.commons.validator.Field,
> org.apache.struts.action.ActionMessages,
> org.apache.commons.validator.Validator,
> javax.servlet.http.HttpServletRequest"
>depends=""
>
; In your validateLicenciaMaestro() you need to add a message to the
> ActionMessages object (if validation fails) - look at Strut's FieldChecks
> class if you want an example.
>
> Niall
> - Original Message -
> From: "Metal KoRn" <[EMAIL PROTECTED]>
> Sen
Hi guys I would like to validate a password and a confirm_passwrod
fields to match, how can i do this validation with the struts
validator.
The other is to VALIDATE if a field value is > 0
Someone could help me with this??
thanx.
Hi Im having a problem with validators
this is the error
VALIDATION FAILED
May 11, 2005 11:29:09 PM org.apache.struts.validator.ValidatorForm validate
SEVERE: validator.FMValidator.validateList(java.lang.Object, org.apache.commons.
validator.ValidatorAction, org.apache.commons.validator.Field, o
ration file don't
> match your method signature.
>
> http://www.mail-archive.com/user@struts.apache.org/msg26221.html
> http://www.mail-archive.com/user@struts.apache.org/msg26175.html
>
> Niall
>
> ----- Original Message -
> From: "Metal KoRn"
Im having a problem with validating a password field .
THIS IS MY CODE infe validator.FMValidator class
public static boolean validatePassword(
Object bean,
ValidatorAction va,
Field field,
ActionMessages errors,
Hi guys Im having this error but I dont know why is this happening can u
help me??
ERROR:
May 16, 2005 10:14:06 PM org.apache.struts.validator.ValidatorForm validate
SEVERE: validator.FMvalidator
org.apache.commons.validator.ValidatorException: validator.FMvalidator
at org.apache.commons.validato
Hey guys I need to validate two fields for password and confirmation but I
can get the jakarta example work can anybody tell me how to do taht with
struts?
11 matches
Mail list logo