OK thanks for the advice everyone (especially Sean's message on his blog), I was trying to get a quick solution to the problem as I was working. Instead of stopping and actually 'learning' about Application.cfc instead of just adding it to my site.

Thanks everyone.

On 7/6/05, Sean Corfield <[EMAIL PROTECTED]> wrote:
On 7/6/05, Stephen Adams <[EMAIL PROTECTED]> wrote:
>  I am trying to implement a Application.cfc page, on to a site that
> originally had an Application.cfm page. Now my site appeared ok when I was
> using Application.cfm but since I have replaced it with Application.cfc all
> my pages are appearing blank in the screen, with no error messages. I have
> only created the shell functions in Application.cfc, but I thought that the
> pages would still run if you just have empty methods in Application.cfc.

I bet you wrote an empty onRequest() method?

If you implement onRequest() it MUST include the target page.

Read the (copious) documentation about Application.cfc - in particular
the chapter on migrating from Application.cfm to Application.cfc!! The
CF docs team spent a lot of time on this chapter (and so did I,
actually - some of the text is mine) and it really will help you
understand how Application.cfc works.
--
Sean A Corfield -- http://corfield.org/
Team Fusebox -- http://fusebox.org/
Got Gmail? -- I have 50, yes 50, invites to give away!

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at www.mail-archive.com/[email protected]



----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at www.mail-archive.com/[email protected]

Reply via email to