Skip to main content
Participant
Apr 23, 2020 8:07 PM UTC
Question

is it possible useing cfinclude tag in the cfc component?

is it possible useing cfinclude tag in the cfc component?

if possible. is there any problems?  speed, memory...etc..

 

Thank you 

    This topic is closed to new replies. Start a new post to keep the conversation going.

    3 replies

    Participating Frequently
    Apr 24, 2020 1:12 PM UTC

    I support an application that uses cfinclude in it's application.cfc modules and there have not been any issues.

     

    Translate
    Charlie Arehart
    Community Expert
    Community Expert
    Apr 23, 2020 9:52 PM UTC

    There is no reason I can think of to hesitate about using a cfinclude in a CFC. CFML is CFML.

    Translate
    /Charlie (troubleshooter, carehart. org)
    WolfShade
    Legend
    Apr 23, 2020 8:34 PM UTC

    I would need some more details, like a use-case.  I can't think of any problems off the top of my head.

     

    However, if you intend to include another cfc, there's a better way to do it.

     

    V/r,

     

    ^ _ ^

    Translate