ActionErrors problem...

2003-11-18 Thread Dominique de Waleffe
I have this in my code: errors.add(ActionErrors.GLOBAL_ERROR, new ActionError(error.key.invalid-value.dummy,keyname,value,expected); I have this in application.properties: error.key.invalid-value.dummy=DUMMY: key:{0} Value:{1} expected:{2} However, using html:errors/ in my page,

Re: ActionErrors problem...

2003-11-18 Thread Brad Balmer
This may be a copy/paste issue, but this shouldn't even compile as it looks here. You are missing a ) at the end. Dominique de Waleffe wrote: I have this in my code: errors.add(ActionErrors.GLOBAL_ERROR, new ActionError(error.key.invalid-value.dummy,keyname,value,expected); I

Re: ActionErrors problem...

2003-11-18 Thread Dominique de Waleffe
Brad Balmer wrote: This may be a copy/paste issue, but this shouldn't even compile as it looks here. You are missing a ) at the end. Cut-n-paste error. The code compiles. Only the replacements do not appear. When I put an extra placeholder {3} and give 3 args only, the {3} appears in the

Re: ActionErrors problem...

2003-11-18 Thread Susan Bradeen
On 11/18/2003 07:29:41 AM Dominique de Waleffe wrote: I have this in my code: errors.add(ActionErrors.GLOBAL_ERROR, new ActionError(error.key.invalid-value.dummy,keyname,value,expected); Are keyname, value, expected evaluated or literal values? Do you mean to have the quotes around them?

Re: ActionErrors problem...

2003-11-18 Thread Dominique de Waleffe
Susan Bradeen wrote: On 11/18/2003 07:29:41 AM Dominique de Waleffe wrote: I have this in my code: errors.add(ActionErrors.GLOBAL_ERROR, new ActionError(error.key.invalid-value.dummy,keyname,value,expected); Are keyname, value, expected evaluated or literal values? Do you mean to have

Re: ActionErrors problem...

2003-11-18 Thread Caroline Lauferon
PROTECTED] - Original Message - From: Dominique de Waleffe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 1:29 PM Subject: ActionErrors problem... I have

Re: ActionErrors problem...

2003-11-18 Thread Dominique de Waleffe
Caroline Lauferon wrote: I've just made a little test writing DUMMY: key:keyname Value:value expected:expected in an html document.. and i got DUMMY: key: Value: expected: the problem is that is a special html symbol explorer thinks its an unknown tag and outputs nothing. if you