You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2016/11/12 08:42:58 UTC

[jira] [Updated] (WW-4711) tag should not evaluate defaultMessage against a ValueStack by default

     [ 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)