Could someone help me understand component extension?

I've read a couple chapters over on component extension (use of the EXTENDS attribute in a CFCOMPONENT tag) but something isn't clicking; so I'm looking to the forums for some supplemental info that'll help me have a eureka moment and comprehend.
As a preface, I have, what I would call, an intermediate knowledge of CF (working towards advanced).  So if we can keep the explanations into as much Layman's terms as possible, that would be appreciated and most helpful.
To my knowledge, if you have a component, you can make its THIS-scope variables and its methods available to other components if those components have an EXTENDS attribute in their CFCOMPONENT tag that uses a fully-qualified dot notation path to the "extended-from" component.
I tried to put this into practice by having a master.cfc and slave.cfc  The master is located off the root in a folder called 'www'.  The slave is located off the root in at the location: 'www/app/coms'.  So in the slave.cfc component I wrote:
<cfcomponent extends="www.master" ...
Assuming that it was the same as CF starting from the root of the website and looking into the www folder and then seeing the master.cfc.
But when I have the slave component call a function that exists in the master, it says it cannot find it.  What am I not getting here?  This sounds like a POWERFUL way to share the application.cfc's THIS-scope variables, so I'd like to comprehend this ability, but there's something I'm missing it seems.

OK, here's the issue I'm having so far.
In the application.cfc (located at '/www/application.cfc') in the pseudo constructor, I created a THIS.mappings structure and made a key in it called '/app' which maps to 'c:\inetpub\wwwroot\localhost\www', a valid location)
Then down in the onApplicationStart() code, for S&G's, I wrote the following:
<cfdump var="#fileExists( expandPath( '/app/application.cfc' ) )" abort="1">
Since no such folder ('app') exists at the root, the only way this code would return YES/TRUE is if the THIS.mappings '/app' key worked (cause there is an application.cfc in the root's 'www' folder)
Sure enough, it says "YES" when I run the code.  So everything's good.
Well, I'm now going through code in the oAS() that instantiates componenents and stores it into the application scope.  The testing component is called 'template.cfc' (located at c:\inetpub\wwwroot\localhost\files\framework\current\coms)  In that template.cfc I set the attribute to each of the following in multiple attempts:
extends="/app.application"
extends="/app/application"
extends="app.application"
When the template.cfc is stored into the APPLICATION scope, it is put into a variable called 'application.coms.template'.  But when that component is processsed, I keep getting the error:
COULD NOT FIND THE COLDFUSION COMPONENT OR INTERFACE /app.application
I checked CF10 documentation, and it says that the EXTENDS attribute can take such a FQDN pathing... wasn't it supposed to respect values set in the THIS.mappings?

Similar Messages

  • My iPhone say no songs can be transfer to my iPhone from from itunes library. I cant find a reason for this explaination could someone help me understand why it tells me that?

    My iPhone says no songs can be transfered to my iPhone from my itunes music Library. I cant find a reason for this error, can someone help me fix or understand why it tells me this?

    look in your files on your computer and make sure the songs are still located somewhere on the actual computer.
    open up your start menu and search for one of the songs

  • Could someone help me out? ActionScript

    import flash.display.MovieClip;
    var clip:clip01 = new clip01;
    var clip2:clip02 = new clip02;
    var clip3:clip03 = new clip03;
    var clip4:clip04 = new clip04;
    var clip5:clip05 = new clip05;
    var files:Array = [clip,clip2,clip3,clip4,clip5];
    function randomizeArray(array:Array):Array
        var newArray:Array = new Array();
        while (array.length > 0)
    newArray.push(array.splice(Math.floor(Math.random()*array.length), 1));
        return newArray;
    var RandomArray:Array = randomizeArray(files);
    trace(RandomArray[0]);
    trace(clip);
    var c:MovieClip = MovieClip(RandomArray[0]);
    addChild(clip); // it’s OK
    addChild(c); // I get the error msg bellow:
    Scene 1, Layer 'movies', Frame 1, Line 29              1118: Implicit coercion of a value with static type Object to a possibly unrelated type flash.display:DisplayObject.
    Could someone help me out?
    I cannot add MovieClip on the stage from the array.

    I have done till this the following code bellow. I’d like movie clip on the
    stage to be playing one after another in a randomized order in a loop. I
    used a timer, but this solution is not good, because the movies are not
    playing till the end. I need an EventListener to listen the end of the clip.
    How this code could be modified to work well, could you give me a solution
    to this problem?
    import flash.display.MovieClip;
    var clip1:clip01 = new clip01  ;
    var clip2:clip02 = new clip02  ;
    var clip3:clip03 = new clip03  ;
    var clip4:clip04 = new clip04  ;
    var clip5:clip05 = new clip05  ;
    var files:Array = new Array();
    pushArray(clip1,clip2,clip3,clip4,clip5);
    function pushArray(c1,c2,c3,c4,c5:MovieClip){
                    files.push(c1);
                    files.push(c2);
                    files.push(c3);
                    files.push(c4);
                    files.push(c5);
    function randomizeArray(array:Array):Array
                    var newArray:Array = new Array();
                    while (array.length > 0)
                                    newArray.push(array.splice(Math.floor
                                    (Math.random()*array.length), 1)[0]);
                    return newArray;
    var RandomArray:Array = randomizeArray(files);
    var testTimer:Timer = new Timer(1000);
    testTimer.addEventListener(TimerEvent.TIMER,updateFile);
    testTimer.start();
    function updateFile(event:TimerEvent):void
                    if (RandomArray.length == 0)
                                    pushArray(clip1,clip2,clip3,clip4,clip5);
                                    RandomArray = randomizeArray(files);
                    trace('play file',RandomArray[0]);
                    RandomArray.shift();
    //RandomArray[0].addEventListener(Event.ENTER_FRAME, VideoFinished);
    function VideoFinished(e:Event):void {
         if (RandomArray[0].currentFrame==RandomArray[0].totalFrames) {
              trace("finished");
    //addChild(RandomArray[0]);

  • HT3529 Can someone help me understand why my iMessage no longer works on my iPad

    Can someone help me understand why my iMessage no longer works on my iPad

    iOS: Troubleshooting Messages
    iOS: Troubleshooting FaceTime and iMessage activation

  • Hi could someone help me please ? Ive just bought the new ipad and want to put some movies on it. I have already converted some movies using handbrake and tried to transfer them to my ipad and it just wont work. ive tried drag and drop and everything

    Hi could someone help me please ? Ive just bought the new ipad and want to put some movies on it. I have already converted some movies using handbrake and tried to transfer them to my ipad and it just wont work. ive tried drag and drop and everything

    bluztoo wrote:
    Haven't really used any of them including VLC - actually use netflix on the ipad more than anything. I was able to drop an mp4 into imovie on my ipad and see it there. This was something I had shot as avhcd and converted with turbo.264. Played fine. Probably not what you want for a movie player though.
    Well, turbo.264 is indeed very nice to have - even for converting full-sized movies. (Nevertheless, TechRadar's latest roundup (see http://www.techradar.com/news/software/applications/6-of-the-best-video-converte rs-for-mac-1074303 ; also linked from another roundup at http://www.iphonelife.com/blog/87/benchmark-excellent-multimedia-converter-handb rake-vs-commercial-apps ) has shown it's still worse than HandBrake in most respects.)
    All H.264 files (assuming they are H.264 level 4.1 or lower) are compatible with the built-in Videos app.
    bluztoo wrote:
    Those of you who use other players, what do you reccomend? Just curious.
    It entirely depends on your needs. The top players (AVPlayerHD / ProPlayer, It's Playing, GoodPlayer) all have different strengths and weaknesses. I myself use It's Playing the most as I convert everything into MP4 and simply love the DSP's (brightness / volume / saturation boosting). (Its software decoders are definitely worse than those of AVPlayerHD / ProPlayer; however, MP4's are played back from hardware.)

  • I purchased a digital itunes giftcard through paypal but can't seem to find a 'code' to use to redeem the card. Could someone help me find where that code would be found? I can see the paypal transaction details.

    I purchased a digital itunes giftcard through paypal but can't seem to find a 'code' to use to redeem the card. Could someone help me find where that code would be found? I can see the paypal transaction details. jgm22

    -> iTunes Cards & Codes

  • I have  Mac os x 106. When I try to send an attachment with email it won't send.  Please could someone help? Thank you.

    I have a Mac OS X 10.6 When I try to send an attachment with email it won't send - keeps saying 'fail'.  Please could someone help? Thank you.

    Hi lllaass! I replied to your post with the information you required but haven't heard from you since. If you don't, or can't help any further please would you let me know. Thanks.

  • Hello! I have some my violin recorded audio files and want them to be converted to printable notation throw "audio to score"from Factory. But do not have a normal result. Could someone help me, please. .

    I have some my violin recorded audio files and want them to be converted to printable notation throw "audio to score"from Factory. But do not have a normal result. Could someone help me, please. .

    seeren wrote:
    Normal result is on the sloppy side of inaccurate.
    Wish I'd started this topic so I could give you a green star!
    Great description.

  • I had to forcequit pages and now it won't reopen. Could someone help?

    I had to forcequit pages and now it won't reopen. Could someone help?

    It sure helps if you give more details.
    You do know we can't see your screen?
    Is it on Mac or iGadget?
    What version of Pages, on what version of OSX?
    What exactly happened?
    What messages if any have you got when it quit and when you try to relaunch it?
    Have you tried starting Pages holding down the shift key so it doesn't try to reopen any damaged files?
    Peter

  • HT5557 I have bookmarks and notes that are no longer attached to the original page and I can't find a way to delete them.  Could someone help me purge these things so they are not in the way?

    I have bookmarks and notes that are no longer attached to the original page and I can't find a way to delete them.  Could someone help me purge these things so they are not in the way?

    James Ward4  Thanks for your suggestion.  I have tried the video app and it appears to have some, but not all of the downloads which are viewable without wifi, so I will now review the download process and see if I can capture the missing episodes.  Thanks again.

  • Could someone help me restore my photos?  I was trying to "restore my database" in iPhoto when it shut down - now my thumbnails are distorted, logged under a new name, and when you click on a thumbnail it opens as another photo.  I was following another "

    Could someone help me restore my photos?  I was trying to "restore my database" in iPhoto when it shut down - now my thumbnails are distorted, logged under a new name, and when you click on a thumbnail it opens as another photo.  I was following another "helpful hint" hold down the option and command key and restart iPhoto - select the top three and you should be able to get rid of the dreaded exclamation point.  My MAC ran through the first two options dealing with thumbnails, but crashed during the "restore database"  step and now I have a mess.  Help, please.  Thank you.

    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  

  • Windows 7 very slowed after I downloaded ITunes. could someone help me?

    My PC with Windows 7 is very slowed since I downloaded iTunes. Could someone help me? Thank you

    All purchases from the iTunes Store including free and paid apps are included in your purchase history which cannot be deleted. Deleting an app from your iTunes library on your computer or on your iPad or iOS device does not remove the app from your purchase history.
    You did use iTunes to download the apps or they wouldn't be incldued in your iTunes Store purchase history.

  • About numbering and section options... I need section numbers (1.1,1.2,1.3) that will automatically update as I remove ort add a page. Seams complicated. Could someone HELP me? Thanks

    About numbering and section options... I need section numbers (1.1,1.2,1.3) that will automatically update as I remove ort add a page. Seams complicated. Could someone HELP me? Thanks

    INDESIGN
    I finally found it. Took me couple of hours. It is OK now
    2014-11-18 11:05 GMT-05:00 kglad <[email protected]>:
        About numbering and section options... I need section numbers
    (1.1,1.2,1.3) that will automatically update as I remove ort add a page.
    Seams complicated. Could someone HELP me? Thanks  created by kglad
    <https://forums.adobe.com/people/kglad> in Adobe Creative Cloud - View
    the full discussion <https://forums.adobe.com/message/6940603#6940603>

  • I have a Mac os x 10.6 Snow Leopard. When on Face Timeto my brother in Canada I can hear him but he can't hear me. We've both checked our Audio systems which seem to be in order. Please could someone help?  Thanks.

    I have a Mac OS X 10.6 Snow Leopard. When on Face Time to my brother in Canada I could hear him but he wasn't able to  hear me. We've both checked our Audio systems which seem to be in order. Please could someone help?  Thanks.

    Hi Shirley,
    Long shot, but...
    Open Audio Midi Setup in Applications>Utilities, see the input & output options & KHz setting there, some things will change it for their own use, then not set it back.

  • HT4203 I have turned off the Data use on the I-phone 4s but am told by AT&T that data is still being used for applications.  How is this possible. Can someone help me understand this.  Thanks.

    I have turned off the Data use on the I-phone 4s but am told by AT&T that data is still being used for applications.  How is this possible. Can someone help me understand this. 

    I assume you are including the STIX font as part of your epub files?     
    Perhaps the folks who do this blog might be able to help -- they have done some work with font embedding:
    http://www.pigsgourdsandwikis.com/2011/04/embedding-fonts-in-epub-ipad-iphone-an d.html

Maybe you are looking for