OK, that worked for the onRequestStart. I wanted to return the views also, so I made an "after" section and ran onRequestEnd, then made a function to listen for that in my controller. But it seems to be running before the views are rendered.
Oh my head hurts. On Jan 15, 2:58 pm, Chuck Savage <[email protected]> wrote: > That's actually a bug reported here: > > http://trac.model-glue.com/ticket/365 > > Until fixed, I have an event-type > > <event-type name="Remote"> > <before> > <broadcasts format="remote"> > <message name="OnRequestStart" /> > </broadcasts> > </before> > </event-type> > > That I include in the event-handler type="Remote" for each remotely called > event-handler. Then in the url that calls the event, you have to include > the attribute requestFormat='remote'. That way you can use this with > non-remote calls. If you know you'll only use this with remote calls, you > can remove the format="remote" in the <broadcasts> tag. > > -- > Chuck Savagehttp://SeaRisen.com
-- 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
