Re: struts2 locale question

2009-06-03 Thread Dave Newton
Bhaarat Sharma wrote: I am doing this but not working imi.welcome = Hello {0} Unless you have a property named "World", it won't. You probably mean to send an immediate string, the OGNL for which is %{'World'}. Dave - To

Re: struts2 locale question

2009-06-03 Thread Bhaarat Sharma
I am doing this but not working imi.welcome = Hello {0} On Wed, Jun 3, 2009 at 7:16 PM, Dave Newton wrote: > Bhaarat Sharma wrote: > >> is there a way in struts2 to create a locale in the properties file and >> then >> substitue values to it? >> For example: >> in properties file: >> myApp.Wel

Re: struts2 locale question

2009-06-03 Thread Dave Newton
Bhaarat Sharma wrote: is there a way in struts2 to create a locale in the properties file and then substitue values to it? For example: in properties file: myApp.Welcome = "Hello ?" then when we call this locale we can pass in some value for '?' This would print: Hello World Hello John Yo

struts2 locale question

2009-06-03 Thread Bhaarat Sharma
is there a way in struts2 to create a locale in the properties file and then substitue values to it? For example: in properties file: myApp.Welcome = "Hello ?" then when we call this locale we can pass in some value for '?' This would print: Hello World Hello John Thanks -bhaarat