Skip to main content
Apr 15, 2010 11:23 AM UTC
Question

Calling CFM from CFC

Greetings to all

I not enough work with ColdFusion.

My question: How I can receive function parametres in *.CFM file  from a *.CFC component?

OR

How I can calling functions in CFM from Flex Application?

For example:

In CFM:

<cffunction>

..............

<cfreturn HelloVariable>

</cffunction>

How I can recieve HelloVariable in my Flex Application?

Sorry for my English

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

    4 replies

    Inspiring
    Apr 15, 2010 11:59 AM UTC

    In your cfc, add a cfinclude to the cfm file and then you have access to the function.

    Translate
    Apr 15, 2010 12:02 PM UTC

    Ok, Dan. I will make so.

    Translate
    Apr 15, 2010 3:34 PM UTC

    Perfect! Thank you, Dan.

    Translate
    Apr 15, 2010 11:41 AM UTC

    It needs to be made without use URL parameters. It is necessary that the parameters has been protected.

    Translate