Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6985827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:43:49+00:00 2026-05-27T18:43:49+00:00

I am using ColdFusion 9.1.2. I have a CFC called orders.cfm. This is the

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T18:43:50+00:00Added an answer on May 27, 2026 at 6:43 pm

    orderswrapup has access to all of order’s functions, when you create a new orderswrapup object because orderswrapup is a child of order.

    You defined orderswrapup.cfc to inherit all of orders.cfc’s functions when you defined orderswrapup.cfc as <cfcomponent extends="orders"> This allows you to call any functions in orders.cfc via orderswrapup.cfc as if they were functions inside of orders.cfc. But orders.cfc has no defined relationship with orderswrapup.cfc, so it can’t call functions inside of orderswrapup.cfc

    Some good writeups – http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=buildingComponents_30.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using ColdFusion 9.0.1. I have a new web site that uses Bikes.cfm
Have a look at the following function in a CFC (I'm using ColdFusion 9).
I have a page that loads another page into a div: $(#AmenitiesDiv).load(Amenities/AmenitiesAdd.cfm); In this
I have a webservice programmed in coldfusion which I'm attempting to consume using c#.net.
I have a web application, written in ColdFusion, which periodically starts using 100% of
I am using ColdFusion (Railo 3.3), and I have several forms using jQuery that
There is a website that was created using ColdFusion (not sure if this matters
I am using this new jQuery plugin called jsTree www.jstree.com and using the HTML
When using ColdFusion ORM where you have several tables with relationships can I bind
I'm using coldfusion and jquery. This is my first real go at jquery and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.