struts-issues mailing list archives

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

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

Lukasz Lenart edited comment on WW-4572 at 11/7/16 6:36 AM:
------------------------------------------------------------

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

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

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.

(Pardon the strange line-breaking, unsure why that's happening.)

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