I've got my login page in CF in that directory and it works. It's also passing some FlashVars in to the Flex app. I'm using onRequestStart() to set config and pathing information... I'll try and switch it to onSessionStart() since it seems like the cfm page is only called once (I've turned off deep linking for this app.)
Andy ----- Original Message ----- From: "Cameron Childress" <[EMAIL PROTECTED]> To: [email protected] Sent: Tuesday, June 10, 2008 12:14:14 PM (GMT-0500) Auto-Detected Subject: Re: [AFFUG Discuss] Flex 3 and CF8 application.cfc Really? I just looked back at some remoting code that has an onRequestStart() in it. I'm not entirely sure it's working though. I think it's probably just ignored in my case. I know onSessionStart() works.... -Cameron On Tue, Jun 10, 2008 at 11:51 AM, Douglas Knudsen <[EMAIL PROTECTED]> wrote: > you can't use onRequest() stuffs in application.cfc with Remoting. > > DK > > On Tue, Jun 10, 2008 at 11:15 AM, Cameron Childress <[EMAIL PROTECTED]> > wrote: >> >> Have you tried just putting a basic helloworld.cfm termplate in that >> directory and viewing it in a web browser? You sure normal templates >> execute properly with that application.cfc? I'd verify that first. >> >> -Cameron >> >> On Tue, Jun 10, 2008 at 10:59 AM, <[EMAIL PROTECTED]> wrote: >> > I've created a simple application using the CF Wizard in Flex Builder 3, >> > but have been getting the following errors when I change the main.html file >> > to be main.cfm so that I can do some setup through CF: >> > >> > (mx.rpc::Fault)#0 >> > errorID = 0 >> > faultCode = "Server.Processing" >> > faultDetail = "An exception occurred when invoking a event handler >> > method from Application.cfc. The method name is: onRequestStart." >> > faultString = "Unable to invoke CFC - Event handler exception." >> > message = "faultCode:Server.Processing faultString:'Unable to invoke >> > CFC - Event handler exception.' faultDetail:'An exception occurred when >> > invoking a event handler method from Application.cfc. The method name is: >> > onRequestStart.'" >> > name = "Error" >> > rootCause = (null) >> > >> > I tried setting the access="remote", but that didn't help. There's >> > probably something basic I'm overlooking, so any insight would be >> > appreciated! >> > >> > Thanks, >> > >> > -- >> > Andy Fox >> > Systems Analyst III >> > Georgia Tech OIT-EIS >> > >> > >> > ------------------------------------------------------------- >> > To unsubscribe from this list, simply email the list with unsubscribe in >> > the subject line >> > >> > For more info, see http://www.affug.com >> > Archive @ http://www.mail-archive.com/discussion%40affug.com/ >> > List hosted by http://www.fusionlink.com >> > ------------------------------------------------------------- >> > >> > >> > >> >> >> >> -- >> Cameron Childress >> Sumo Consulting Inc >> http://www.sumoc.com >> --- >> cell: 678.637.5072 >> aim: cameroncf >> email: [EMAIL PROTECTED] >> >> >> ------------------------------------------------------------- >> To unsubscribe from this list, simply email the list with unsubscribe in >> the subject line >> >> For more info, see http://www.affug.com >> Archive @ http://www.mail-archive.com/discussion%40affug.com/ >> List hosted by http://www.fusionlink.com >> ------------------------------------------------------------- >> >> > > > > -- > Douglas Knudsen > http://www.cubicleman.com > this is my signature, like it? > ------------------------------------------------------------- > To unsubscribe from this list, simply email the list with unsubscribe in the > subject line > > For more info, see http://www.affug.com > Archive @ http://www.mail-archive.com/discussion%40affug.com/ > List hosted by FusionLink > ------------------------------------------------------------- -- Cameron Childress Sumo Consulting Inc http://www.sumoc.com --- cell: 678.637.5072 aim: cameroncf email: [EMAIL PROTECTED] ------------------------------------------------------------- To unsubscribe from this list, simply email the list with unsubscribe in the subject line For more info, see http://www.affug.com Archive @ http://www.mail-archive.com/discussion%40affug.com/ List hosted by http://www.fusionlink.com ------------------------------------------------------------- ------------------------------------------------------------- To unsubscribe from this list, simply email the list with unsubscribe in the subject line For more info, see http://www.affug.com Archive @ http://www.mail-archive.com/discussion%40affug.com/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
