@Chris
I tried this:
===== snip ===
Then I tried with onRequestStart and this didn't work either - until I
changed the message listener from
<message-listener message="modelglue.onRequestStart"
function="onRequestStart" />
to
<message-listener message="onRequestStart"
function="onRequestStart" />
Then I got to the <cfdump> I put in it after a page refresh.
===== snip ===
Which seems to be just the opposite of what you suggest. Unless I
misread I understand from your post that in order to fire on the
implicit Coldfusion generated events (onRequestStart etc) I should use
<event-handler name="modelglue.onSessionStart">.
Btw why would use <message-listener message="onSessionStart"
function="onSessionStart" /> if it's not being triggered by CF's
implicit event - onSessionStart?
Marc
On Jan 16, 10:24 pm, Chris Blackwell <[email protected]> wrote:
> If you're setting up listeners in a controller just use onSessionStart (not
> modelglue.onSessionStart)
>
> <message-listener message="onSessionStart" function="onSessionStart" />
>
> if you want an event-handler to be fired onSessionStart (or any of the other
> implicit events then use modelglue.onSessionStart
>
> <event-handler name="modelglue.onSessionStart">
>
> Chris
>
--
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