struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose L Martinez-Avial (JIRA)" <j...@apache.org>
Subject [jira] [Created] (WW-3906) All resultype parameters should be parsed for OGNL expressions
Date Mon, 22 Oct 2012 12:32:12 GMT
Jose L Martinez-Avial created WW-3906:
-----------------------------------------

             Summary: All resultype parameters should be parsed for OGNL expressions
                 Key: WW-3906
                 URL: https://issues.apache.org/jira/browse/WW-3906
             Project: Struts 2
          Issue Type: Improvement
          Components: Core Actions, Plugin - JSON
    Affects Versions: 2.3.4
            Reporter: Jose L Martinez-Avial


Currently only some parameters for ResultType are parsed for OGNL expression. For example,
HttpHeaderResult implements that option only for errorMessage and Headers, but not for errorCode
or status. So it is not possible to set dinamically the error code, it needs to be hardcoded
in the XML configuration file. The same issue happens with the JSONResult. That should be
changed in order to support OGNL expression for parameter values where it is possible.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message