You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by snowch <sn...@coralms.com> on 2009/08/03 13:47:55 UTC

accessing request object from minilang

I have a class method:

public static boolean hasUpliftPermission(HttpServletRequest request, String
upliftNumber) { ... }

I would like to execute this method from minilang.  How can I pass in the
request object?

Many thanks inadvance...


-- 
View this message in context: http://www.nabble.com/accessing-request-object-from-minilang-tp24789381p24789381.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: accessing request object from minilang

Posted by Scott Gray <sc...@hotwaxmedia.com>.
request is available in the context in the same way that the  
parameters map is (assuming your calling the simple method as an event  
that is).

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 3/08/2009, at 11:47 PM, snowch wrote:

>
> I have a class method:
>
> public static boolean hasUpliftPermission(HttpServletRequest  
> request, String
> upliftNumber) { ... }
>
> I would like to execute this method from minilang.  How can I pass  
> in the
> request object?
>
> Many thanks inadvance...
>
>
> -- 
> View this message in context: http://www.nabble.com/accessing-request-object-from-minilang-tp24789381p24789381.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>