Lukasz Lenart created WW-5476:
---------------------------------

             Summary: Mark tags attributes as deprecated
                 Key: WW-5476
                 URL: https://issues.apache.org/jira/browse/WW-5476
             Project: Struts 2
          Issue Type: Improvement
          Components: Core Tags
            Reporter: Lukasz Lenart
             Fix For: 6.7.0


Tag's parameters can be confused with HttpParameters, but these are two 
different things and shouldn't be mixed up due to security reasons.

Using "attributes" instead of "parameters" can allow to distinguish these two 
sets of data.

Once introduced templates should use "attributes.${attrName}" instead of 
"parameters.${paramName}", eg.:
{code:java}
<#if attributes.id??>
 id="${attributes.id}"<#rt/>
</#if> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to