How to pass paramaeters to display dynamic text using html:errors tag?

2002-07-30 Thread Ravi Kora
Hi, I am a newbie to struts. Right now, I am able to display server side errors using the html:errors tag. But, I want to extend the functionality of this to display some dynamic text. I want to pass a parameter to the tag in Application.properties file which adds the parameter to the text

Using html:errors/

2001-09-26 Thread Anna Englund
Hi, I'm new with Struts and have a question on how to display error messages. In my Action I detect an error and take the following actions: - Create an ArrayErrors object, errors - Add a new ArrayError to errors - Save errors in request - Retrieves the messages with html:errors/ in my jsp

RE: Using html:errors/

2001-09-26 Thread bruno . morin
Is the error.company.updatecollision defined in the ApplicationResources.properties files in the Web-inf/classes/ repertory ? -Message d'origine- De: Anna Englund [mailto:[EMAIL PROTECTED]] Date: mercredi 26 septembre 2001 15:55 À: [EMAIL PROTECTED] Objet: Using html:errors/ Hi, I'm

RE: Using html:errors/

2001-09-26 Thread bruno . morin
If she hadn't declare the struts-html.tld, she should have a struts error message like html tag is not defined -Message d'origine- De: Jonathan M Crater [mailto:[EMAIL PROTECTED]] Date: mercredi 26 septembre 2001 15:58 À: [EMAIL PROTECTED] Objet: Re: Using html:errors/ are you

Re: Using html:errors/

2001-09-26 Thread K
Had you added error.company.updatecollision=Your Error Message in the WEB-INF/Classes/ApplicationResources.properties file - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 26, 2001 9:59 PM Subject: RE: Using html:errors

Re: Using html:errors/

2001-09-26 Thread Jonathan M Crater
are you declaring the html tag library before you try to use the errors tag? %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % Anna Englund wrote: Hi, I'm new with Struts and have a question on how to display error messages. In my Action I detect an error and take the following

Re: Using html:errors/

2001-09-26 Thread Jonathan M Crater
is not defined -Message d'origine- De: Jonathan M Crater [mailto:[EMAIL PROTECTED]] Date: mercredi 26 septembre 2001 15:58 À: [EMAIL PROTECTED] Objet: Re: Using html:errors/ are you declaring the html tag library before you try to use the errors tag? %@ taglib uri=/WEB-INF/struts-html.tld

RE: Using html:errors/

2001-09-26 Thread bruno . morin
You're right. Apologies to Jonathan M Crater -Message d'origine- De: David Winterfeldt [mailto:[EMAIL PROTECTED]] Date: mercredi 26 septembre 2001 16:11 À: [EMAIL PROTECTED] Objet: RE: Using html:errors/ If you don't declare the taglib at the top of the JSP, you won't get any error

Re: Using html:errors/

2001-09-26 Thread Anna Englund
Yes, I am. I use a lot of the other html tags, such as html:text without problem. //Anna --- Jonathan M Crater [EMAIL PROTECTED] wrote: are you declaring the html tag library before you try to use the errors tag? %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % Anna Englund wrote:

Re: Using html:errors/

2001-09-26 Thread martin . cooper
/ApplicationResources.properties file - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 26, 2001 9:59 PM Subject: RE: Using html:errors/ Is the error.company.updatecollision defined in the ApplicationResources.properties files in the Web

RE: Using html:errors/

2001-09-26 Thread Lou Morin
Make sure that error.company.updatecollision is defined correctly in your ApplicationResources.properties file ... I had a similar problem. Lou From: David Winterfeldt [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Using html:errors/ Date: Wed, 26 Sep 2001 07