OMG, thank you!
I have been using app.cfc for some time but never ran into an issue like
this. Now I know. Just had to put my UDFs in the request scope and all is
good now!!

Thanks!

-----Original Message-----
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 03, 2008 11:43 PM
To: Flex
Subject: Re: Need to figure out why all I get back from CFC is NULL

The docs explain this:

http://livedocs.adobe.com/coldfusion/8/htmldocs/AppEvents_08.html#1186087

"Do not implement the onRequest method in any Application.cfc file
that affects .cfc files that implement web services, process Flash
Remoting or event gateway requests; ColdFusion will not execute the
requests if you implement this method."

On Wed, Jun 4, 2008 at 2:36 PM, Derek B <[EMAIL PROTECTED]> wrote:
> Ok, well I have been working on this for hours. I finally found the
culprit, but no idea as to why it is.
>
> I have this in my app.cfc, like most everyone does I am sure...
>
> <cffunction name="onRequest" returnType="void">
>   <cfargument name="thePage" type="string" required="true" />
>   <cfinclude template="#arguments.thePage#" />
> </cffunction>
>
> If I take it out, everything I had an issue with works as it should, but
then the CF app doesn't work. Put it back in a nada on the flex and calling
via url, but cf app works. Even if I just leave the cffunction in and take
out the arg and include, nothing works.


-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/



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

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:5292
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to