[
https://issues.apache.org/jira/browse/WW-4459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14306755#comment-14306755
]
Lukasz Lenart edited comment on WW-4459 at 2/5/15 6:51 AM:
-----------------------------------------------------------
Did you try to define a key like this: {{format.number = {0,number,#0.0##\}}} ?
The same works very well in the Showcase app.
was (Author: lukaszlenart):
Did you try to define a key like this: {{format.number = {0,number,#0.0##}}} ?
The same works very well in the Showcase app.
> getText() is broken
> --------------------
>
> Key: WW-4459
> URL: https://issues.apache.org/jira/browse/WW-4459
> Project: Struts 2
> Issue Type: Bug
> Components: Expression Language
> Affects Versions: 2.3.20
> Reporter: Yuri
> Fix For: 2.3.22
>
>
> After upgrade from 2.3.15 to 2.3.20 we encountered couple issues:
> 1. Web server throws warning messages:
> {noformat}
> WARN [LocalizedTextUtil] Missing key [....
> {noformat}
> That happens when resource key starts with "errors."
> 2. getText() with formatting no longer works. For example,
> {code:xml}
> <s:property value="getText('{0,number,#,#0}',{#pctComplete * 100})"/>
> {code}
> throws Warning:
> {noformat}
> Missing key [{0,number,#,#0}] in bundles ...
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)