ling List'
> Objet : RE: RE : RE : How to display an error from reset method
> (ActionForm) ?
>
> Did you verify that the reset method is called ???
> I think that this method is not called the first time you access to
the
> form.
>
> Arnaud
>
> > -Mess
thod
(ActionForm) ?
>
> Ooops this is :
>
> request.setAttribute(Action.ERROR_KEY,errors);
>
> because your in an actionForm.
>
> Arnaud
>
> > -Message d'origine-
> > De : PALLUEL Sylvie [mailto:sylvie.palluel@;cnamts.fr]
> > Envoyé : l
"error.unitedelai.missing"));
> }
> if(value<=0)
>errors.add(Constants.DELAI_FIELD_ERROR, new
> ActionError("error.integerformat"));
> }catch(NumberFormatException nfe){
> errors.add(Constants.DELAI_FIELD_ERROR, new
> ActionError("error.integ
Hello,
I'm using the reset method in a class which
inherits from ActionForm to initialize my form from database.
This method can fail and generate an error that
I want to display using ActionErrors.
How can I do this ?
Thanks for your help.
Sylvie.
Title: Message
Hello,
I'm using the reset
method in a class which inherits from ActionForm to initialize my form from
database.
This method
can fail and generate an error that I want to display using
ActionErrors.
How can I do this
?
Thanks for your
help.
Sylvie.
5 matches
Mail list logo