Skip to main content
Participant
October 31, 2023
Question

enableCFoutputOnly

  • October 31, 2023
  • 1 reply
  • 129 views

<cfcomponent>
<cfsetting enableCFoutputOnly="yes">

<cfinclude template="abc.cfc">
</cfcomponent>

this is printing the contet of my file abc.cfc to the screen, i think enableCFoutputOnly="yes" should prevent it right ?

my environment:

docker-container 
docker image: adobecoldfusion/coldfusion2021


 

    This topic has been closed for replies.

    1 reply

    Community Expert
    October 31, 2023

    I don't think you can include a CFC with CFINCLUDE.

     

    Dave Watts, Eidolon LLC 

    Dave Watts, Eidolon LLC