Re: ActionErrors problem...

2003-11-18 Thread Dominique de Waleffe
Caroline Lauferon wrote: I've just made a little test writing DUMMY: key: Value: 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 look in the HTML source

Re: ActionErrors problem...

2003-11-18 Thread Caroline Lauferon
61 92 [EMAIL PROTECTED] - Original Message - From: "Dominique de Waleffe" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, November 18, 2003 1:29

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","","",""); Are , , evaluated or literal values? Do you mean to have the quotes around them? Can you pr

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","","",""); > Are , , evaluated or literal values? Do you mean to have the quotes around them? Can you print out the values

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 messag

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","","",""); I have this in a

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","","",""); I have this in application.properties: error.key.invalid-value.dummy=DUMMY: key:{0} Value:{1} expected:{2} However, using in my page, the only thing that gets d