Re: Component based email without a context
Re: Component based email without a context
- Subject: Re: Component based email without a context
- From: Paul Hoadley <email@hidden>
- Date: Sun, 30 Oct 2011 15:39:33 +1030
On 29/10/2011, at 10:42 PM, Ken Anderson wrote:
> Thanks Paul. Unfortunately, currentContext() will return null, since this will not be running inside a request/response loop. I'm probably just going to create a context to useā¦
Oh, sorry Ken. I obviously didn't read your original post closely enough. Can you just call WOContext's constructor, then? (And won't you need a WORequest to do that? Sorry, now I've got more questions than answers for you.)
--
Paul.
http://logicsquad.net/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden