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
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
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
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
TECTED]
> Sent: Tuesday, March 22, 2005 7:04 PM
> To: Struts Users Mailing List
> Subject: Re[2]: Locale question
>
>
> Erik!
> Where can I find some docs and samples about Globals obj ?
>
> EW> Yes, it's gone in 1.2.4 and replaced by Globals.LOCALE_KEY.
>
> EW
Well, one place to look would be the API documentation:
http://struts.apache.org/api/index.html
Click on "Globals" in the "All Classes" frame and check out the Field
Summary. Also, click on one of the key fields and you'll see a link to
"Constant Field Values". Follow that for a summary page conc
Erik!
Where can I find some docs and samples about Globals obj ?
EW> Yes, it's gone in 1.2.4 and replaced by Globals.LOCALE_KEY.
EW> Erik
EW> Sergey Livanov wrote:
>>Is Action.LOCALE_KEY deprecated ?
>>
>>
>>
EW> -
EW> To u
Yes, it's gone in 1.2.4 and replaced by Globals.LOCALE_KEY.
Erik
Sergey Livanov wrote:
Is Action.LOCALE_KEY deprecated ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Is Action.LOCALE_KEY deprecated ?
--
regards,
Sergey mailto:[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
If you don't specify anything than you will be using the locale set in
your browser (if you don't set this than its usually the locale set in
your O/S).
This behavior usually works good for most apps. If you want to allow a
person to proactively change the Locale you can do it in an Action. Tak
Hi,
this is very very basic.
When i started learning Java i really never payed
attention to that.
I don't have any one line of code in my struts
application that secifies my "locale". So,
what's actually the default locale i'm using???
if i want to change the locale, how exactly should i
do?? w
11 matches
Mail list logo