I am using ColdFusion 9.1.2.
I have a CFC called orders.cfm. This is the "parent" CFC.
I have another CFC call orderswrapup.cfc. This is an extension of orders.cfc. In orderswrapup.cfc, I have this line at the top:
<cfcomponent extends="orders">
Right now, this doesn't work:
objOrders = createObject("component", "orders");
MyResult = objOrders .someMethodActuallyInOrdersWrapUpCFC();
But this does work:
objOrders = createObject("component", "orderswrapup");
MyResult = objOrders .someMethodActuallyInOrdersWrapUpCFC();
To access the methods in orderswrapup.cfc, can I call the method as though it were "in" orders.cfc or do I need to call it directly? It seems that I should be able to call the parent, not the child.