> I know that this as already been said using Cfmodule...couldn't you just > create an application var that holds the mapping you want to use and use > the application variable instead of the mapping directly? Than if you > can't use the mapping you want or you need to change it - all you have > to do is change it in one place and voila... Althought, maybe I'm > missing something here.
No problem, Peter-- I had the same question when I was first pondering CFIMPORT and how I might use it. Unfortunately you can't store anything used by the CFIMPORT tag in a variable because ColdFusion Server processes the CFIMPORT tag at compile time, so it's at compile time when ColdFusion Server must know exactly where to find the tags. That's why a ColdFusion Server mapping (which ColdFusion Server already "knows about") is okay to use with CFIMPORT. However, the *content* of a variable isn't interpreted until runtime, so ColdFusion Server wouldn't know where to find the tag library at the moment when it processes CFIMPORT. So you're left with the issues I mentioned earlier, plus the fact that you can't create custom tag editors for your custom tags. We're about to release a product called Plum that has almost sixty custom tags in it, and some of these babies have a number of attributes and also require immediate online help. By using the "cf_" syntax, we can not only create GUI custom tag editors using VTML and WIZML, we can also attach a full description of the tag, how it can be used, example code, etc. That, and the code's a lot easier to read. Respectfully, Adam Phillip Churvis Member of Team Macromedia Advanced Intensive ColdFusion MX Training: * ColdFusion MX Master Class * Advanced Development with CFMX and SQL Server 2000 http://www.ColdFusionTraining.com Download CommerceBlocks V2.1 and LoRCAT from http://www.ProductivityEnhancement.com The ColdFusion MX Bible is in bookstores now! ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
