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

[jira] [Comment Edited] (WW-4572) Add dedicated class to represent Http Parameters

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