Thanks Niall..Thank you very much. On 11/29/05, Niall Pemberton <[EMAIL PROTECTED]> wrote: > > Sure, just extends one of the ValidatorForm flavours and do something like > the following... > > public class MyForm extends ValidatorForm { > public ActionErrors validate(ActionMapping mapping, > HttpServletRequest request) { > > ActionErrors errors = super.validate(mapping, request); > > if (----custom validation check here----) { > errors.add("foo", new ActionMessage("error.key")); > } > > return errors; > > } > } > > Niall > > ----- Original Message ----- > From: "Srinivas Jadcharla" <[EMAIL PROTECTED]> > Sent: Tuesday, November 29, 2005 3:13 PM > > > > Hi there, > > > > As per the requirement i have to use Both types of validations > > > > 1.validations using Validate Method > > 2.Validations using Validations framework > > > > For the fields in a Single Form.Is it possible ???Some one please advice > me. > > > > -- > > Thanks & Regards > > > > Srinivas > > 732-648-9421(Cell) > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
-- Thanks & Regards Srinivas 732-648-9421(Cell)