RE : RE : RE : How to display an error from reset method (ActionForm) ?

2002-11-04 Thread PALLUEL Sylvie
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

RE : RE : How to display an error from reset method (ActionForm) ?

2002-11-04 Thread PALLUEL Sylvie
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

RE : How to display an error from reset method (ActionForm) ?

2002-11-04 Thread PALLUEL Sylvie
"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

How to display an error from reset method (ActionForm) ?

2002-11-04 Thread PALLUEL Sylvie
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.   

Pb using ActionErrors from reset method (ActionForm)

2002-10-30 Thread PALLUEL 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.