[
https://issues.apache.org/jira/browse/WW-4711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lukasz Lenart updated WW-4711:
------------------------------
Description:
Right now {{<s:text/>}} tag will perform evaluation of a {{defaultMessage}}
against a ValueStack by default. In most cases the {{defaultMessage}} is set to
value of {{name}} attribute and can be easily used wrong by a developer.
Evaluation must be performed only on purpose.
This change affects also {{<s:label/>}} tag and {{label}} attribute of all
{{UIBean}}s
was:Right now {{<s:text/>}} tag will perform evaluation of a
{{defaultMessage}} against a ValueStack by default. In most cases the
{{defaultMessage}} is set to value of {{name}} attribute and can be easily used
wrong by a developer. Evaluation must be performed only on purpose.
> <s:text/> tag should not evaluate defaultMessage against a ValueStack by
> default
> --------------------------------------------------------------------------------
>
> Key: WW-4711
> URL: https://issues.apache.org/jira/browse/WW-4711
> Project: Struts 2
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.5.5
> Reporter: Lukasz Lenart
> Fix For: 2.5.6
>
>
> Right now {{<s:text/>}} tag will perform evaluation of a {{defaultMessage}}
> against a ValueStack by default. In most cases the {{defaultMessage}} is set
> to value of {{name}} attribute and can be easily used wrong by a developer.
> Evaluation must be performed only on purpose.
> This change affects also {{<s:label/>}} tag and {{label}} attribute of all
> {{UIBean}}s
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)