Blog

Subfolders and Application Custom Tags

August 16, 2007 · 1 Comment

I love the new Custom Tag Paths in Application.cfc feature of ColdFusion 8. In fact I love it so much I'm using it everywhere now. I did run into one problem though. I tried calling an application mapped custom tag from sub folder without its own Application.cfc. The custom tag call bombs. I added an application.cfc that extended the application's root application.cfc, and still no joy. I had to explicitly set the custom tag mapping in the child application.cfc to get it to work.

No big deal, but I figured I would share it.

Tags: Web Development · ColdFusion

1 response so far ↓

  • 1 Todd Rafferty // Aug 16, 2007 at 12:55 PM

    Yeah, as soon as we got CF8 in-house, that's the first thing I did was add the mappings and custom tags to the Application.cfc - at my work, we don't use a global custom tag directory at all due to the shear amount of sites on one box, so having this back now is godsend for us.

Leave a Comment