Sorry I sent before subscribing so don't know if this came through...
----- Original Message -----
From: Barbara Post <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 29, 2002 4:49 PM
Subject: how to customize form validator ?


> Hi,
>
> I'd like to create my own validate(ActionMapping mapping,
HttpServletRequest
> request) method in ActionForm but I can't override this one.
>
> In fact I don't want to use an ActionError but rather create my own error
> bean for my error messages.
>
> Thank you for any idea... The following does not work. May I do the same
and
> add a "useless" parameter to my  validate method ? (a boolean to be
short).
>
> public class AuthenticationForm extends ActionForm {
>
>  public myErrorBean validate(ActionMapping mapping,
>                                  HttpServletRequest request) {
> // get http request parameters, check things, setup the error bean and
> returns
> }
>
> BP
>

 
______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to