how to get a reference to the delegator in a jsp?

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

how to get a reference to the delegator in a jsp?

Chris Snow-3
How can I get a reference to the delegator in a jsp / servlet?

Many thanks,

Chris


Reply | Threaded
Open this post in threaded view
|

Re: how to get a reference to the delegator in a jsp?

Scott Gray-2
I've never tried it but I'm assuming it's the same as most other places: request.getAtrribute("delegator")

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 28/02/2010, at 8:43 AM, Christopher Snow wrote:

> How can I get a reference to the delegator in a jsp / servlet?
>
> Many thanks,
>
> Chris
>
>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: how to get a reference to the delegator in a jsp?

BJ Freeman
In reply to this post by Chris Snow-3
take a look at java service code.
note the reason ofbiz migrated from JSP to ftl is you can not pass the
context back to ofbiz.

Christopher Snow sent the following on 2/28/2010 7:43 AM:
> How can I get a reference to the delegator in a jsp / servlet?
>
> Many thanks,
>
> Chris
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: how to get a reference to the delegator in a jsp?

Chris Snow-3
Hi BJ,

Thanks - just seen that it's coming from the ContextFilter.  I'm not
actually trying to do anything meaningful with a jsp, just trying to
figure out how everything works under the hood in ofbiz.

Cheers,

Chris

BJ Freeman wrote:

> take a look at java service code.
> note the reason ofbiz migrated from JSP to ftl is you can not pass the
> context back to ofbiz.
>
> Christopher Snow sent the following on 2/28/2010 7:43 AM:
>  
>> How can I get a reference to the delegator in a jsp / servlet?
>>
>> Many thanks,
>>
>> Chris
>>
>>
>>
>>    
>
>