So you set that Remote type up like I'd suggested?

Hm,

I'm not sure what to say.  Since I know from my own work, to get a view to
run last, aka the body view that is the template, I have the <result
do="body template">, and it runs last.  That's where I got the idea from.

If you were doing in that OnRequestEnd event handler a <broadcast>, you
might switch it to a <view> and manually calling in your view all the things
you need done last.  Unfortunately that isn't nearly as nice as a broadcast.

OR

analyzing the MG code, you could try modifying the
/modeglue/gesture/remoting/AbstractRemotingService.cfc to do this, (this is
modifying the core MG code)

after the local.event =
getModelGlue().executeEvent(argumentCollection=arguments) in function
executeEvent()

do

local.event.addEventHandler(getModelGlue().getEventHandler("modelglue.onRequestEnd"))
local.event.executeEventQueue()

Obviously that's a temporary fix, until the MG guru's figure out the right
solution.  I'm not sure how to test that, but you can let me know if it
works.


-- 
Chuck Savage
http://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

Reply via email to