[JIRA] Commented: (OFBIZ-108) Should parameterMap take precedence over request attributes in ScreenWidgetViewHandler

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (OFBIZ-108) Should parameterMap take precedence over request attributes in ScreenWidgetViewHandler

JIRA jira@ofbiz.org
     [ http://jira.undersunconsulting.com/browse/OFBIZ-108?page=comments#action_13836 ]
     
Jacopo Cappellato commented on OFBIZ-108:
-----------------------------------------

I could be wrong but maybe this has been taken care in a recent mod that David did... if so we could close this issue.


> Should parameterMap take precedence over request attributes in ScreenWidgetViewHandler
> --------------------------------------------------------------------------------------
>
>          Key: OFBIZ-108
>          URL: http://jira.undersunconsulting.com/browse/OFBIZ-108
>      Project: [OFBiz] Open For Business
>         Type: Improvement
>   Components: content
>     Versions: SVN
>     Reporter: Al Byers
>     Assignee: Jira Administrator
>     Priority: Minor

>
>
> In ScreenWidgetViewHandler, I see that if a parameter exists in the parameterMap, then its value is used, regardless if a request attribute by the same name exists or not.
> It seems that if a request attribute exists, it was probably meant to override a parameterMap value, which are intended for input, with the setting of output values a secondary purpose.
> I realize that this might break a lot of code, but I thought it was worth bringing up.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.undersunconsulting.com/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira