struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Mazza (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (WW-4572) Add dedicated class to represent Http Parameters
Date Sun, 06 Nov 2016 22:08:58 GMT

    [ https://issues.apache.org/jira/browse/WW-4572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15642519#comment-15642519
] 

Glen Mazza edited comment on WW-4572 at 11/6/16 10:08 PM:
----------------------------------------------------------

This change appears to break backwards compatibility, upon upgrade from Struts 2.5.2 to 2.5.5
the following code no longer worked:

{
    <s:property value='%{#parameters.weblogId}'/>   // returns empty string.
}

Apparent solution (haven't tested yet) is here: http://stackoverflow.com/a/40365187/1207540





was (Author: gmazza):
This change appears to break backwards compatibility, upon upgrade from Struts 2.5.2 to 2.5.5
the following code no longer worked:

    <s:property value='%{#parameters.weblogId}'/>   // returns empty string.

Apparent solution (haven't tested yet) is here: http://stackoverflow.com/a/40365187/1207540




> Add dedicated class to represent Http Parameters
> ------------------------------------------------
>
>                 Key: WW-4572
>                 URL: https://issues.apache.org/jira/browse/WW-4572
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: "New" API
>    Affects Versions: 2.3.24
>            Reporter: Lukasz Lenart
>            Assignee: Lukasz Lenart
>             Fix For: 2.5.5
>
>
> Right now {{parameters}} are represented by a {{Map}} and a lot of logic is duplicated.
There is no way to check if given parameter was already evaluated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message