No I have not. It gets called by MG on every request without having to call
it from an event handler so if you were to call it from an event handler I
assume it would get call twice(?). But yeh, because it gets called
automatically, there doesn't appear to be anywhere to pick up any results
from it should you want to.

I have done what you say but with a new method name and message-listener.
This is ok but I have to code to include it in different request more than
once which I dislike, an ok compromise for now though.

Thanks,

Dominic



On 15/12/2007, Sean Corfield <[EMAIL PROTECTED]> wrote:
>
> Just checking but you did declare onRequestStart as an event-handler
> so you could add <results> to it, right? That's how you trap results
> set by a listener for onRequestStart.
>
> On 12/15/07, Dominic Watson <[EMAIL PROTECTED]> wrote:
> > So I'm digging Model Glue and ColdSpring and have managed to get a
> facebook
> > starter up and running with MG, hoorah! The trouble I am having is this:
> >
> > In the OnRequestStart() method in my controller, I check for certain
> errors
> > from the Facebook request (authenticating that it is actually a FB
> request,
> > etc) and I would like to be able to change the event of the request when
> I
> > encounter these errors.
> >
> > I have tried <cfset arguments.setResult("facebookError")> and in the MG
> xml
> > config I have used that result just about everywhere to no avail which
> kind
> > of makes sense since the onRequestEnd listener is not called from any of
> the
> > event-handlers.
> >
> > Any pointers? Does this make sense?
> >
> > Thanks in advance,
> >
> > Dominic
> >
> >
> > --
> > Blog it up: http://fusion.dominicwatson.co.uk
> >
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294869
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to