struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhouyanming (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WW-3329) ${Parameters.xxx} in freemarker view is broken
Date Tue, 17 Nov 2009 04:46:14 GMT

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

zhouyanming commented on WW-3329:
---------------------------------

I can't build latest version so I didn't test it,but I have checked FreemarkerManager 
line 357
model.put(ATTR_REQUEST_PARAMETERS_MODEL, reqParametersModel); 

value of ATTR_REQUEST_PARAMETERS_MODEL is not "Parameters",I think it won't works

> ${Parameters.xxx} in freemarker view is broken
> ----------------------------------------------
>
>                 Key: WW-3329
>                 URL: https://issues.apache.org/struts/browse/WW-3329
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.2.0
>            Reporter: zhouyanming
>            Assignee: Musachy Barroso
>            Priority: Blocker
>             Fix For: 2.2.0
>
>
> "Parameters" was instead by ".freemarker.RequestParameters" in FreemakerManager
> protected ScopesHashModel buildScopesHashModel(
> 			ServletContext servletContext, HttpServletRequest request,
> 			HttpServletResponse response, ObjectWrapper wrapper,
> 			ValueStack stack) ;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message