You should probably try using the "key" rather than the "label"
attribute, I'm not even sure whether it will accept OGNL:
<s:textfield key="blabla"/>
--
Ian Roughley
From Down & Around, Inc.
Consulting * Training / Mentoring * Agile Process * Open Source
web: http://www.fdar.com - email: [EMAIL PROTECTED]
Angel Gruev wrote:
Hello
I have read the guide for internationalization but still I cannot get it
running.
1. I have a property file with internationalization data called "
ApplicationResources.properties" (used for the old struts 1 applicaiton)
There is a line "blabla = test"
2. In the struts.properties file I have added:
struts.i18n.reload = true
struts.custom.i18n.resources=ApplicationResources.properties
3. In the action configuraion i have added :
<interceptor-ref name="defaultStack" /> (this stack contains the i18n
interceptor>
4. In the jsp I have added:
<s:textfield label="%{getText('blabla')}"/>
The result is "blabla" , not "test" as expected.
Any ideas ?
Angel Gruev
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]