śr., 20 lut 2019 o 13:21 Rita Brito napisał(a):
> I am defining an i18n interceptor with name="localeStorage">cookie so that a cookie with the user's
> selected language is stored.
>
> Everything is working fine if when I navigate in my domain (eg:
> my.domain.com
Hi,
I am defining an i18n interceptor with name="localeStorage">cookie so that a cookie with the user's
selected language is stored.
Everything is working fine if when I navigate in my domain (eg:
my.domain.com/somepage.html).
However, when navigating to a subdomain (eg:
;zo...@sparecreative.com>:
> HI Guys,
>
>
>
> We have an old project which has been happily working for years. Recently
> we updated it to 2.5.x which was surprisingly easy.
>
>
>
> One issue we did run into which was quite annoying was the I18N
> Interceptor now valida
HI Guys,
We have an old project which has been happily working for years. Recently we
updated it to 2.5.x which was surprisingly easy.
One issue we did run into which was quite annoying was the I18N Interceptor now
validates locales against the list of default available locales
What theme do you use?
(on mobile)
20 gru 2014 08:35 Yaragalla Muralidhar yaragallamur...@gmail.com
napisał(a):
I am using eclipse. yes it is copied into same package.
*Thanks and Regards,*
Muralidhar Yaragalla.
*http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/*
On Sat, Dec
i use simple theme
*Thanks and Regards,*
Muralidhar Yaragalla.
*http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/*
On Sat, Dec 20, 2014 at 3:16 PM, Lukasz Lenart lukaszlen...@apache.org
wrote:
What theme do you use?
(on mobile)
20 gru 2014 08:35 Yaragalla Muralidhar
That's why you're not seeing the labels, they are not supported by the
simple theme.
(*Chris*)
On Sat Dec 20 2014 at 1:49:15 AM Yaragalla Muralidhar
yaragallamur...@gmail.com wrote:
i use simple theme
*Thanks and Regards,*
Muralidhar Yaragalla.
*http://yaragalla.blogspot.in/
2014-12-20 10:48 GMT+01:00 Yaragalla Muralidhar yaragallamur...@gmail.com:
i use simple theme
labels are generated only with one of the Xhtml themes, if use simple
theme you must add label tag by yourself.
REgards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
ok thank u so much.
*Thanks and Regards,*
Muralidhar Yaragalla.
*http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/*
On Sat, Dec 20, 2014 at 3:21 PM, Lukasz Lenart lukaszlen...@apache.org
wrote:
2014-12-20 10:48 GMT+01:00 Yaragalla Muralidhar yaragallamur...@gmail.com
:
i use
Hi I have created an action class and i have created an properties file
with the same name as action class. Then i am using the following code
s:textfield name=sampleid cssClass=textField label readonly=true
key=sample.reg.sampleid/
Even though the resource bundle key is specified the label is
Is there something i have to configure in struts.xml file?
*Thanks and Regards,*
Muralidhar Yaragalla.
*http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/*
On Sat, Dec 20, 2014 at 9:27 AM, Yaragalla Muralidhar
yaragallamur...@gmail.com wrote:
Hi I have created an action class and i
2014-12-20 4:57 GMT+01:00 Yaragalla Muralidhar yaragallamur...@gmail.com:
Hi I have created an action class and i have created an properties file
with the same name as action class. Then i am using the following code
s:textfield name=sampleid cssClass=textField label readonly=true
I am using eclipse. yes it is copied into same package.
*Thanks and Regards,*
Muralidhar Yaragalla.
*http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/*
On Sat, Dec 20, 2014 at 12:46 PM, Lukasz Lenart lukaszlen...@apache.org
wrote:
2014-12-20 4:57 GMT+01:00 Yaragalla Muralidhar
Hi,
Using s:set tag, s:select list can use I18N text.
Please refer following.
https://stackoverflow.com/questions/5548104/struts-select-tag-localization-implementation/17258640#17258640
I think, s:radio tag is also be able to localize with s:set tag.
Regards,
Noriyuki Okamoto
Does anyone have a working example of a @s.radio list tag that uses
localization of the labels? I've been searching the doc and stack overflow
but not finding things that are working?
e.g. if we have an enum:
enum EnumTest {
A, B, C;
}
and a getter on the controller:
public ListEnumTest
Hello.
I'm defining some actions with no logic, they only result in some JSP. Usually
this is defined like this:
action name=someSimpleAction class=...
result/WEB-INF/jsp/Page.jsp/result
/action
But l10n is required, so I'm doing this:
action
action name=someOtherSimpleActionWithLocalizationRequired
result/WEB-INF/jsp/I18nedPage.jsp/result
/action
This way should be simpler and maybe you can use wildcard matching.
You can also define default-class-ref/ or default-action-ref/
Regards
--
Łukasz
+ 48 606 323 122
I have both defined default-class-ref/ and default-action-ref/. I need both
because I'm using default-action-ref/ as a welcome action.
In more complicated cases I can always define a 'localize' method.
Thank you very much.
El Miércoles, 24 de julio de 2013 15:10:36 Lukasz Lenart escribió:
2013/6/21 Antonio Sánchez juntandolin...@gmail.com:
Also blank application example.
My default locale is es_ES . Clicking on English still returns Spanish
text. Renaming package.properties to package_en.properties makes it work.
I'm not sure if this is the right place to report
Also blank application example.
My default locale is es_ES . Clicking on English still returns Spanish
text. Renaming package.properties to package_en.properties makes it work.
I'm not sure if this is the right place to report documentation, tutorial,
examples... issues. Please let me know.
hi,
i need to set language form action, if i set struts.locale = du_NL
in struts.properties then dutch will the default language.
how can i set language from action, i have tried using
session.put(WW_TRANS_I18N_LOCALE, du_NL);
and
locale = new Locale(du);
I think you can pass request_locale via the URL. So
index.action?request_locale=du_NL. I think this will then keep in in the
session until you change it.
Check out http://struts.apache.org/2.x/docs/faqs.html - localization
section. In particular
://struts.1045723.n5.nabble.com/Changing-portal-language-in-Struts-1-I18N-working-only-for-one-page-tp4684829p4684829.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr
:
http://struts.1045723.n5.nabble.com/Changing-portal-language-in-Struts-1-I18N-working-only-for-one-page-tp4684665p4684665.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr
Hi all,
I have an application using Struts2 + Tiles 2.1.2.
The application has some i18n features in two ways: First for text content
depending on the language, secondly for the pages shown, depending on the
language.
For the first option, it is solved using struts request_locale
For the second
Have you tried tiles 2.2.2?
Mitch
From: alexcocia alab...@gmail.com
To: user@struts.apache.org
Date: 07/19/2011 08:14 AM
Subject:[TILES 2.1.2] I18n problem
Hi all,
I have an application using Struts2 + Tiles 2.1.2.
The application has some i18n features in two ways: First
Hi Mitch,
Unfortunately, this would be a last option due to dependencies with other
project/components deployed.
Nevertheless, I will give it a try on an isolated environment, just to check
it.
Regards,
Alex
--
View this message in context:
http://struts.1045723.n5.nabble.com/TILES-2-1-2-I18n
hi strut people :)
i have a problem with strutsmenu and I18N with struts2
i read somthing about this problem
see: the old comment:
Besides specifying the bundle attribute on the menu:useDisplayer tag, is
there any other way to translate the text from menu-config.xml with
struts2? If I
i am not sure if there was any bug fix regarding i18n reload.
but can you describe how you redeploy your app?
do shutoff your server then deploy then start?
or do you just deploy without turning off anything?
On Mon, Jun 20, 2011 at 1:55 PM, Vincent Lin vincent.lin...@gmail.comwrote:
Hi,
We
PM, Steven Yang kenshin...@gmail.com wrote:
i am not sure if there was any bug fix regarding i18n reload.
but can you describe how you redeploy your app?
do shutoff your server then deploy then start?
or do you just deploy without turning off anything?
On Mon, Jun 20, 2011 at 1:55 PM, Vincent
20, 2011 at 3:14 PM, Steven Yang kenshin...@gmail.com wrote:
i am not sure if there was any bug fix regarding i18n reload.
but can you describe how you redeploy your app?
do shutoff your server then deploy then start?
or do you just deploy without turning off anything?
On Mon, Jun 20, 2011
Hi,
We migrated to Struts 2.2.3 recently.
But we found that i18n properties are not reloaded after the web
application redeployed.
After setting struts.i18n.reload=true, it will be reloaded after redeployed.
But page rendering speed is slow.
Before 2.2.3, we were using Struts 2.0.11, the i18n
Please suggest the best method, if possible. (perhaps from right within
validate() method? should i make my own resource parser in this case?)
On Wed, Apr 13, 2011 at 8:38 AM, alex zaim icid...@yahoo.com wrote:
Please suggest the best method, if possible. (perhaps from right within
validate() method?
should i make my own resource parser in this case?)
No. Use existing getText(...) methods.
Dave
No. Use existing getText(...) methods.
That will be parsed right before validation. I want to show the fielderror
results... in another language.
(). getText(...) is I18Nized.
Whether you do the validation via XML, validate(), or both, the keys
will access your I18N resource files.
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e
When you said getText() i thought you meant s:property
value=getText('some.key') /
It works all good now when i use it from validate().
Thanks a lot!
On Wed, Apr 13, 2011 at 9:52 AM, alex zaim wrote:
When you said getText() i thought you meant s:property
value=getText('some.key') /
It works all good now when i use it from validate().
Thanks a lot!
No problem!
Dave
-
I have set devMode=true and both reload config and i18n properties to
true for my development environment. It doesn't matter whether Tomcat
is ran inside of MyEclipse or whether I run it stand alone, while I see
the devMode error reports; I don't see the reload functionality working
at all.
I
value=true /
Peace,
Scott
On Tue, Jan 25, 2011 at 12:26 PM, CRANFORD, CHRIS chris.cranf...@setech.com
wrote:
I have set devMode=true and both reload config and i18n properties to
true for my development environment. It doesn't matter whether Tomcat
is ran inside of MyEclipse or whether I run
: stanl...@gmail.com [mailto:stanl...@gmail.com]
Sent: Tuesday, January 25, 2011 1:44 PM
To: Struts Users Mailing List
Subject: Re: reloading config i18n
With 2.2.1, shove all this in your struts.xml and if it works, just
smile
and don't look back:
constant name=struts.devMode value=true
...@gmail.com]
Sent: Tuesday, January 25, 2011 1:44 PM
To: Struts Users Mailing List
Subject: Re: reloading config i18n
With 2.2.1, shove all this in your struts.xml and if it works, just
smile
and don't look back:
constant name=struts.devMode value=true /
constant name=struts.i18n.reload
Hi Franz,
you can use tag s:property value=getText(title) / for text
translation (where title is name of your variable).
Best regards,
Michal
Franz Wong wrote on 9.8.2010 5:14:
Hi group,
In the jsp page, I have a page scope variable title. This variable stores
the key of the resource
Hi group,
In the jsp page, I have a page scope variable title. This variable stores
the key of the resource bundle. I can print the value by %= title %.
However, I am not able to use it with s:text/.
I have tried s:text name=${title}/ or s:text name=%= title %/. But
both of them do not work.
Hi,
I have an i18n web site with struts 2. I don't know why the i18n text is not
loaded properly. I expect 檢索詞不能空白 (Chinese characters), but it turns out
檢索詞不不能空白. But if I make any change on the html (e.g. the order of
attributes or remove some elements), the text is loaded without any problem
Yeah. But the issue was that i have not defined the needed:
%...@page pageEncoding=UTF-8 contentType=text/html; charset=UTF-8 %
---
regards
Marc Logemann
http://www.logemann.org
http://www.logentis.de
Am 05.04.2010 um 13:58 schrieb Alex Rodriguez Lopez:
Do you have your
Hi,
imagine the following jsp (saved in UTF-8 encoding):
-- snipp ---
%@ taglib prefix=s uri=/struts-tags %
html
body
Hauptmenübr/
s:text name=menu.mainmenu/br/
s:property value=foo/br/
/body
/html
-- END snipp ---
Now i have a resource bundle like that:
Do you have your struts.custom.i18n.resources property correctly
assigned to your bundle(s)?
Em 05-04-2010 11:27, Marc Logemann escreveu:
Hi,
imagine the following jsp (saved in UTF-8 encoding):
-- snipp ---
%@ taglib prefix=s uri=/struts-tags %
html
body
Hauptmenübr/
s:text
Does anyone know how to programmatically retrieve the i18n messages outside
the context of an action class.
I know with the action you can call getText.
I need similiar functionality. I have access to the http request headers. I
assume I need the accept language request header.
e.g.
String
S2 doesn't do anything special. It leverages the native Java resource
bundles and locale. I would advise you to begin by looking at the Locale
class.
On Wed, Mar 24, 2010 at 4:01 AM, Stephen Ince stephenpi...@gmail.comwrote:
Does anyone know how to programmatically retrieve the i18n messages
@struts.apache.org
Sent: Wednesday, March 24, 2010 7:12 AM
Subject: Re: retrieve i18n application messages.
S2 doesn't do anything special. It leverages the native Java resource
bundles and locale. I would advise you to begin by looking at the Locale
class.
On Wed, Mar 24, 2010 at 4:01 AM, Stephen
to my struts.xml configuration allowing this
provider to be used when I use s:text/ and getText() methods?
Chris
-Original Message-
From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com]
Sent: Monday, February 15, 2010 12:58 AM
To: Struts Users Mailing List
Subject: Re: i18n database
W dniu 15 lutego 2010 15:15 użytkownik CRANFORD, CHRIS
chris.cranf...@setech.com napisał:
Lukasz -
I have configured the bean in struts.xml as follows:
bean
type=com.opensymphony.xwork2.TextProvider
name=seek
class=com.setech.seek.struts2.i18n.TextProviderSupport
/
Aside from
W dniu 15 lutego 2010 15:28 użytkownik CRANFORD, CHRIS
chris.cranf...@setech.com napisał:
Yes they are. In fact, all my actions are based on a custom common action
called SeekBaseAction which extends ActionSupport.
So, just define TextProvider as mentioned by me and should work!
Regards
--
k
-Original Message-
From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com]
Sent: Monday, February 15, 2010 8:38 AM
To: Struts Users Mailing List
Subject: Re: i18n database backed
W dniu 15 lutego 2010 15:28 użytkownik CRANFORD, CHRIS
chris.cranf...@setech.com napisał:
Yes
W dniu 15 lutego 2010 17:33 użytkownik CRANFORD, CHRIS
chris.cranf...@setech.com napisał:
2.1.6
I cannot move to 2.1.8 yet without impact to a few other things sadly :(.
I made a small mistake, you have to define your own bean and then
define two constants in struts.xml:
bean
2010/2/12 CRANFORD, CHRIS chris.cranf...@setech.com:
Anyone have any suggested ways to support i18n internationalization
backed by a database table rather than property files?
You have to write your own TextProvider - take a look on ActionSupport
implementation to get more details
.
--
View this message in context:
http://old.nabble.com/i18n-database-backed-tp27569081p27579439.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
Anyone have any suggested ways to support i18n internationalization
backed by a database table rather than property files?
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h
Chris, What sort of benefit database will offer over properties files?
Regards,
Balwinder Kumar
CRANFORD, CHRIS wrote:
Anyone have any suggested ways to support i18n internationalization
backed by a database table rather than property files
of my jsp file but still no use.
Can you please clarify what I am missing here and how to add i18n support
for Chinese locale to my existing Struts based code ?
. changing the place of the i18n interceptor in the interceptor
stack make a difference?
Regards,
Peter
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
2010/2/4 Peter Symoens peter.symo...@approach.be:
s:property value=%{getText(%{name})} / doesn't seem to do the trick.
Did you try
s:property value=%{getText(%{name})} /
Regards
--
Łukasz
http://www.lenart.org.pl/
Kapituła Javarsovia 2010
http://javarsovia.pl
Sorry, my message was incorrect.
s:property value=%{getText('%{name}')} / prints out the (non-i18nzed)
property value.
s:property value=%{getText(%{name})} / prints out nothing.
On 04/02/2010 16:59, Lukasz Lenart wrote:
2010/2/4 Peter Symoenspeter.symo...@approach.be:
s:property
What do you get when you try s:property value=%{getText(name)} / ?
-Brian
On Thu, Feb 4, 2010 at 10:09 AM, Peter Symoens peter.symo...@approach.bewrote:
Sorry, my message was incorrect.
s:property value=%{getText('%{name}')} / prints out the (non-i18nzed)
property value.
s:property
Works fine. Why didn't I think of that?
Thank you!
Peter
On 04/02/2010 17:14, Brian Thompson wrote:
What do you get when you trys:property value=%{getText(name)} / ?
-Brian
On Thu, Feb 4, 2010 at 10:09 AM, Peter Symoenspeter.symo...@approach.bewrote:
Sorry, my message was incorrect.
Hi,
We are developing a educational system for which we need to have the
I18N...I have read the articles and tutorials related to that and found that
the locale of the user will be retrieved from the HttpServletRequest.
(Correct me if i am wrong)But in the education system, user will choose
)
From: Saeed Iqbal saee...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Fri, December 11, 2009 5:41:44 AM
Subject: Re: [S2] i18n not using default bundle
why dont you just use this
struts.custom.i18n.resources=package
and put your CN file name in there.
On Thu
] i18n not using default bundle
why dont you just use this
struts.custom.i18n.resources=package
and put your CN file name in there.
On Thu, Dec 10, 2009 at 10:31 PM, mailtolouis2020-str...@yahoo.com
wrote:
Thanks.
That is what I plan to do if that is nothing to do with struts
Users Mailing List user@struts.apache.org
Sent: Fri, December 11, 2009 5:41:44 AM
Subject: Re: [S2] i18n not using default bundle
why dont you just use this
struts.custom.i18n.resources=package
and put your CN file name in there.
On Thu, Dec 10, 2009 at 10:31 PM, mailtolouis2020-str
@struts.apache.org
Sent: Fri, December 11, 2009 9:47:15 AM
Subject: Re: [S2] i18n not using default bundle
no need to put resources.
On Fri, Dec 11, 2009 at 2:45 PM, Saeed Iqbal saee...@gmail.com wrote:
Why dont you just give it the value global-message_zh_CN
On Fri, Dec 11, 2009 at 2:44 PM
On Today at 2:47pm, SI=Saeed Iqbal saee...@gmail.com wrote:
SI no need to put resources.
SI
SI On Fri, Dec 11, 2009 at 2:45 PM, Saeed Iqbal saee...@gmail.com wrote:
SI
SI Why dont you just give it the value global-message_zh_CN
SI
Saeed,
Slow down a little bit. The original poster got his
Sorry Sir.
On Fri, Dec 11, 2009 at 5:47 PM, Haroon Rafique
haroon.rafi...@utoronto.cawrote:
On Today at 2:47pm, SI=Saeed Iqbal saee...@gmail.com wrote:
SI no need to put resources.
SI
SI On Fri, Dec 11, 2009 at 2:45 PM, Saeed Iqbal saee...@gmail.com
wrote:
SI
SI Why dont you just give
Hello,
I got a doubt on struts 2 i18n. I'm using S2. 2.1.8.1.
I got 2 properties in my application:
global-message.properties(store Chinese Language)
global-message_en.properties (store English Language)
When I run my application, and set my browser language to Chinese (zh-CN), I
expect
,
Carl.
Quoting mailtolouis2020-str...@yahoo.com:
Hello,
I got a doubt on struts 2 i18n. I'm using S2. 2.1.8.1.
I got 2 properties in my application:
global-message.properties(store Chinese Language)
global-message_en.properties (store English Language)
When I run my application, and set my
removing all english from prefered
languages. Because if it is the former then I think it would still look for
an *_en.properties file over the default.
Cheers,
Carl.
Quoting mailtolouis2020-str...@yahoo.com:
Hello,
I got a doubt on struts 2 i18n. I'm using S2. 2.1.8.1.
I got 2
2:01:43 PM
Subject: Re: [S2] i18n not using default bundle
Set the constant variable in struts.xml or struts.properties
variable for i8nl
On Thursday, December 10, 2009, carl ballantyne
carl.ballant...@cast-info.es wrote:
Hi LV,
When you say you set your browser to Chinese are you simply moving
LV
From: Saeed Iqbal saee...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Thu, December 10, 2009 2:01:43 PM
Subject: Re: [S2] i18n not using default bundle
Set the constant variable in struts.xml or struts.properties
variable
The trick is simple:
create an empty file:
global-message_zh_CN.properties
This is not Struts 2 problem, but Java ResourceBundle's.
You can read more here:
http://old.nabble.com/Struts2-%2B--I18N-td24973817.html#a24978732
mailtolouis2020-str...@yahoo.com wrote:
Hello,
I got a doubt
Thanks.
That is what I plan to do if that is nothing to do with struts.
Regards
LV
From: Alex Siman aleksandr.si...@gmail.com
To: user@struts.apache.org
Sent: Thu, December 10, 2009 4:54:26 PM
Subject: Re: [S2] i18n not using default bundle
The trick
From: Alex Siman aleksandr.si...@gmail.com
To: user@struts.apache.org
Sent: Thu, December 10, 2009 4:54:26 PM
Subject: Re: [S2] i18n not using default bundle
The trick is simple:
create an empty file:
global-message_zh_CN.properties
This is not Struts 2 problem, but Java
Thank you, Samuel. This solves my problem.
- Original Message -
From: samuel robert samuel.rob...@lht.dlh.de
To: user@struts.apache.org, la...@fundavision.com
Sent: Friday, October 30, 2009 2:10:59 AM GMT -08:00 US/Canada Pacific
Subject: AW: i18n within dojo attribute
Not sure
: larryreed [mailto:larryr...@comcast.net]
Gesendet: Donnerstag, 29. Oktober 2009 17:59
An: Struts Users Mailing List
Betreff: Re: i18n within dojo attribute
Thank you for your help.
This was, I believe, a typo in the email, but not in the code. In any case,
including the closing single quote
sam is correct
do you have i18nInterceptor enabled in your stack?
interceptors
interceptor name=i18n
class=com.opensymphony.xwork2.interceptor.I18nInterceptor/
!-- Sample i18n stack --
interceptor-stack name=i18nStack
interceptor-ref name=i18n
I'm using the default stack, which I believe has that interceptor in it. In any
case, the i18n works for all the other tags, so I'm not sure why it would be a
problem in this case.
- Original Message -
From: Martin Gainty mgai...@hotmail.com
To: Struts Users Mailing List user
Users Mailing List; Larry Reed
Betreff: Re: i18n within dojo attribute
It occurred to me to use an OGNL form to do this, but I am still having a
challenge getting it to work.
I've tried
s:textfield key=fieldName dojoType=dijit.form.ValidationTextBox
promptMessage=${getText('fieldPrompt
user@struts.apache.org
Sent: Friday, October 23, 2009 4:58:42 PM GMT -08:00 US/Canada Pacific
Subject: i18n within dojo attribute
I have a text field which I would like to 'dojo-ize' by turning it into a
ValidationTextBox.
One of the parameters, 'promptMessage' is a text message that is put
To: Struts Users Mailing List user@struts.apache.org
Sent: Thursday, October 29, 2009 2:11:30 AM GMT -08:00 US/Canada Pacific
Subject: Re: i18n within dojo attribute
You¹re missing the closing inverted comma on fieldPrompt.
Z.
It occurred to me to use an OGNL form to do this, but I am
US/Canada Pacific
Subject: i18n within dojo attribute
I have a text field which I would like to 'dojo-ize' by turning it into a
ValidationTextBox.
One of the parameters, 'promptMessage' is a text message that is put up as a
help when the focus enters the text box.
My problem is that I
I have a text field which I would like to 'dojo-ize' by turning it into a
ValidationTextBox.
One of the parameters, 'promptMessage' is a text message that is put up as a
help when the focus enters the text box.
My problem is that I would like to internationalize this message. My thought
was
Exactly. Using the s:select for your example below would be as follows:
s:select name=²loanType² list=²#{1:getText(key.value1), 2,
getText(key.value2)}²/
Z.
Z,
I'll clarify with a simple example :
The dropdown must be like :
select name=loanTypeoption value=1EnglishType1/optionoption
or convention (read don’t ask)
If you app satisfies these two points then the method I mentioned will work
fine. If it doesn’t, it’s not that much work to satisfy them.
--
View this message in context:
http://www.nabble.com/-S2--i18n-for-lists-maps-tp25300822p25385065.html
Sent from the Struts
Sent: Friday, September 4, 2009 12:48:43 PM
Subject: [S2] i18n for lists/maps
Hi,
Normally, we use the resource bundles to store Strings like field
labels,
error messages etc. But how about things like dropdown display
values ?
.
I
need to i18n-ize an app that has a lot
...@yahoo.com wrote:
- Original Message
From: j alex strutstwou...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Friday, September 4, 2009 12:48:43 PM
Subject: [S2] i18n for lists/maps
Hi,
Normally, we use the resource bundles
From: j alex strutstwou...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Friday, September 4, 2009 12:48:43 PM
Subject: [S2] i18n for lists/maps
Hi,
Normally, we use the resource bundles to store Strings like field
labels,
error messages etc
alex strutstwou...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Friday, September 4, 2009 12:48:43 PM
Subject: [S2] i18n for lists/maps
Hi,
Normally, we use the resource bundles to store Strings like field labels,
error messages etc. But how about things like
Hi,
Normally, we use the resource bundles to store Strings like field labels,
error messages etc. But how about things like dropdown display values ? . I
need to i18n-ize an app that has a lot of such dropdowns and the lists are
currently referenced like s:select name=loanType
list
- Original Message
From: j alex strutstwou...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Friday, September 4, 2009 12:48:43 PM
Subject: [S2] i18n for lists/maps
Hi,
Normally, we use the resource bundles to store Strings like field labels,
error
: Re : Struts2 + I18N
Not long ago, someone also got similar problem:
http://markmail.org/message/mozukqgrnhfbq7od?q=s2+and+default+locale/language+list:org.apache.struts.users/
From: Julien HENRY henr...@yahoo.fr
To: Struts Users Mailing List user
le : Lundi, 17 Août 2009, 15h25mn 13s
Objet : Re: Re : Re : Struts2 + I18N
Another thing you can do is create an essentially empty
default_en.properties file. When 'en' is requested it will find the
default_en.properties file and stop looking. When it goes to retrieving
values it will look
1 - 100 of 493 matches
Mail list logo