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? Can you print out the values in statements
to make sure they are not blank values?

Susan

> 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, the only thing that gets
> displayed is:
> DUMMY: key: Value: expected:
>
> i.e. the replacement values I give are swallowed.
>
> Any idea on what I am doing wrong? I tried calling new ActionError(..,a)
> where a is an Object[] with the values I want. This did not work either.
>
> I imagine I must be missing something obvious...
>
> Thanks for any hint...
> D.
>
> --
> Dominique de Waleffe   Email: [EMAIL PROTECTED] [No HTML please]
> Mission Critical, Drève Richelle 161 Bât N, B-1410 Waterloo, Belgium
> Phone: +32 2 757 10 15  Fax: +32 2 759 27 60
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to