>> John
This one works!
> label.welcome = Welcome {name}
>
>
> John
>
>
This one doesn't work, it displayed a colon ":" instead of the message
from the i18n properties file.
> label.welcome = Welcome {0}
>
>
> John
>
>
This will throw the following exception,
java.lang.NullPointerException
IIRC, you can use named parameters. If you want to keep the {name}, use
label.welcome = Welcome {name}
John
On Mon, 2008-02-11 at 09:10 -0800, Chris Pratt wrote:
> Change your property to
>
> label.welcome = Welcome {0}
>
> Then you might try:
>
>
> John
>
>
> If that doesn't work,
Change your property to
label.welcome = Welcome {0}
Then you might try:
John
If that doesn't work, you should be able to use:
John
(*Chris*)
On Feb 11, 2008 7:13 AM, hezjing <[EMAIL PROTECTED]> wrote:
> Hi
>
> If I have a message defined in i18n properties file shown below,
>
> lab
3 matches
Mail list logo