Skip to main content
Participant
May 23, 2008
Question

Application.cfc Problem

  • May 23, 2008
  • 1 reply
  • 188 views
Question about using Application.cfc

I added Application.cfc to my website and all my pages that use cfgrid files stopped working.

From Adobe, "Do not use an Application.cfc onRequestEnd function or onRequestEnd.cfm page that creates output in applications that use the cfajaxproxy tag or bind expressions that call CFC functions to get data. ColdFusion Ajax features normally require that all returned data from the server be in JSON format; the onRequestEnd method onRequestEnd.cfm page appends any output as non-JSON information to the end of the returned data."

Thanks,

Barry
    This topic has been closed for replies.

    1 reply

    Inspiring
    May 24, 2008
    > <cfinclude template="SiteHeader.cfm">

    You might want to change that to be "/SiteHeader.cfm".

    I suspect the path would be relative to the base template, not the
    Application.cfc file (although I would not have expected this, to be
    honest).

    --
    Adam