You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Anil Patel <to...@gmail.com> on 2007/05/03 07:39:15 UTC

UtilHttp.getParameterMap does not add request.Attributes

Hi,
UtilHttp.getParameterMap method prepares a Map of values from the request
object. Is there a reason why we don't try to get values from Request
Attributes. It will be nice if it did, There are lot of times when we do
request chaining and the only way to values between is to set them in
request attributes.

If its ok to use request Attributes then I'll put up Patch for it.

regards
Anil Patel

OpenCms-6.2.x-OFBiz module is ready now

Posted by Shi Yusen <sh...@langhua.cn>.
Hi list,

I just uploaded the source code and OpenCms module to sourceforge.net:
https://sourceforge.net/projects/opencms-ofbiz

Using this module, you can setup an opencms ecommerce website easily.

There are 3 major pathes under /opencms-ofbiz/trunk/ in cvs:
rmiclient: there's an opencms module file in rmiclient/moduels/. The rmi
client source code is under this folder.

rmiservice: copy this fold to ${ofbiz-home}/specialpurpose/ and add to
ofbiz as a module and rebuild ofbiz.

sslcert: create jks files for RMI server and client.

If you find any bugs in this module, please send an email to me or to
this list. Thanks.

Regards,

Shi Yusen/Beijing Langhua Ltd.



Re: UtilHttp.getParameterMap does not add request.Attributes

Posted by "David E. Jones" <jo...@hotwaxmedia.com>.
Where is it that you want to use this? Different places, like in the  
screen widget and such, do something for this on their own. It might  
be nice to refactor the code out of the screen widget to prepare the  
combined Map in UtilHttp (which includes in this order of priority:  
request attributes, request parameters, session attributes,  
application attributes).

-David


On May 2, 2007, at 11:39 PM, Anil Patel wrote:

> Hi,
> UtilHttp.getParameterMap method prepares a Map of values from the  
> request
> object. Is there a reason why we don't try to get values from Request
> Attributes. It will be nice if it did, There are lot of times when  
> we do
> request chaining and the only way to values between is to set them in
> request attributes.
>
> If its ok to use request Attributes then I'll put up Patch for it.
>
> regards
> Anil Patel