My OWN VALIDATOR

2005-05-04 Thread Metal KoRn
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

Re: My OWN VALIDATOR

2005-05-05 Thread Metal KoRn
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

Re: My OWN VALIDATOR

2005-05-05 Thread Metal KoRn
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

Re: My OWN VALIDATOR

2005-05-05 Thread Metal KoRn
atorAction, > org.apache.commons.validator.Field, > org.apache.struts.action.ActionMessages, > org.apache.commons.validator.Validator, > javax.servlet.http.HttpServletRequest" >depends="" >

Re: My OWN VALIDATOR

2005-05-05 Thread Metal KoRn
; 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

Validators

2005-05-08 Thread Metal KoRn
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.

Re: My OWN VALIDATOR

2005-05-11 Thread Metal KoRn
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

Re: My OWN VALIDATOR

2005-05-12 Thread Metal KoRn
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"

Re: My OWN VALIDATOR

2005-05-14 Thread 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,

validating two fields HELP

2005-05-17 Thread Metal KoRn
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

VALIDATION FOR TWO FIELDSHELP

2005-05-22 Thread Metal KoRn
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?