On Tue, Nov 9, 2010 at 2:46 PM, Dennis Clark <[email protected]> wrote:

> I say "cheat". Declare a controller method that listens for onRequestStart
> and copies the event context into the request scope:
>
> void function onRequestStart(required any event) {
>     request.event = arguments.event;
> }
>
>
> Assuming the ORM event handler runs in the context of the request that
> triggered it, you should be able to access request.event in the ORM event
> handler. I have yet to try it, so let us know how that works for you.
>
>
Chris & Dennis - thanks for the suggestions.

I'll give it a shot and report back :)

Jim

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

Reply via email to