Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Application.cfc Problem

New Here ,
May 23, 2008 May 23, 2008
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
168
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 24, 2008 May 24, 2008
LATEST
> <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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources