accessing request object from minilang

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

accessing request object from minilang

snowch
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...

Reply | Threaded
Open this post in threaded view
|

Re: accessing request object from minilang

Scott Gray-2
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.
>


smime.p7s (3K) Download Attachment