It only happens if the Application.cfc implements the OnRequest method...
Otherwise it will show up fine. 

In the Fusion Authority quaterly update, Ray Camden writes about an
interesting solution to this problem. In the OnRequestStart method, he
checks for the page URL. If it contains a .CFC he actually removes the
OnRequest method from the component definition:

<cfif ListLast( ARGUMENTS.thePage, ".") IS "cfc" or ARGUMENTS.thePage is
"/flashservices/gateway">
  <cfset StructDelete( THIS, "onRequest" ) />
</cfif>

This is pretty interesting and I am going to try it out.

SORRY if I am posting copyrighted material here :(

.......................
Ben Nadel 
www.bennadel.com

-----Original Message-----
From: Nick Tong - TalkWebSolutions.co.uk [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 17, 2006 9:10 AM
To: CF-Talk
Subject: Re: .cfc returns blank screen via direct call

I put a blank application.cfc in my model root and my components showed up
fine.

On 17/07/06, Jochem van Dieten <[EMAIL PROTECTED]> wrote:
>
> Nick Tong - TalkWebSolutions.co.uk wrote:
> > Thanks - is this a known bug with Adobe?
>
> I don't consider it a bug so I didn't report it.
>
> Jochem
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246758
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to