[
https://issues.apache.org/struts/browse/WW-1898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rainer Hermanns resolved WW-1898.
---------------------------------
Resolution: Not A Problem
Fix Version/s: 2.0.8
Assignee: Rainer Hermanns
This is not a bug, but a user list queston...
Please post questions like this first to the user list.
The getText method is not available, if you are trying to access the JSP
directly.
Only, if you use the JSP page as a result of an action, the getText methd is
available.
> Problem with internalization
> ----------------------------
>
> Key: WW-1898
> URL: https://issues.apache.org/struts/browse/WW-1898
> Project: Struts 2
> Issue Type: Bug
> Affects Versions: 2.0.6
> Environment: Glassfish AS Version 40
> Reporter: Ruben Hartenstein
> Assigned To: Rainer Hermanns
> Fix For: 2.0.8
>
>
> Dear Struts2 Community,
> we got the following problem in our web app:
> In order to internationalize our web app we put some properties into the
> language file (package_en.properties) and access these properties in a jsp
> like <s:textfield label="%{getText('username')}" . First time the jsp is
> loaded, the textfield has no label text. After validating (submit), the jsp
> is reloaded and the textfield displays the correct label.
> Do you have an idea how we can solve this problem?
> Thanks in advance
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.