Thanks Leonidas
Hi there,
webwork used to have a class that would easily read
external sources like xml files, but i do not recall the class name now. If you
want to read from simple property files you could use something
like :
String path =
HI,
I have used the strtuts I18n feature for managing the localization. The site
works fine and the messages are selected from correct resource bundels.
I have this problem
I want to change css base on the user locale.
So I use below code in jsp:
**
The locale
Is the locale a string?
On Sep 8, 2013 7:10 AM, Alireza Fattahi afatt...@yahoo.com wrote:
HI,
I have used the strtuts I18n feature for managing the localization. The
site works fine and the messages are selected from correct resource bundels.
I have this problem
I want to change css
Hello
Please try this expresion and tell us if it works
s:if test=%{locale.language == 'en'}
You will have to test the locale it in every jsp ?
Couldn't you use for example, a global.properties file and struts.xml
constant name=struts.custom.i18n.resources value=global /
It's a good idea to put your action classes into packages.
Not on the topic of the question exactly but the long inheritance chain on
your action is suspicious. Consider struts2 Interceptors and since you are
using Spring inject what you need where you need it.
action
Hello ,
Could you please write how do you define
The locale is = ${locale} //Here the correct locale is displayed!
I see in my browser ( even source code )
The locale is = //Here the correct locale is displayed!
Please try this expresion and tell us if it
Hi,
I am using s:select to create a dropdown and then checked the html. I
wanted to add bgcolor as yellow. I referred to the following link
http://struts.apache.org/release/2.2.x/docs/struts-2-themes.html
but still not sure how to put the background clour as yellow. Can anyone
provide any
7 matches
Mail list logo