CFImport allows you to create tag prefixes. You can also use a template
path (which cf_tagname does not have). I think it's a very elegant way
to group tag functionality.


......................
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/

-----Original Message-----
From: Jamie Jackson [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 12, 2007 3:39 PM
To: CF-Talk
Subject: cfimport vs. cfmodule/cf_MyTag for Custom Tag Calls

I (think) I've seen folks recommending <cfimport> over <cf_MyTag> and
<cfmodule template="MyTag"> for custom tag calls.

I usually use a custom tag for header/footer inclusion like this
<cf_MySiteHeadFoot ...> my body </cf_MySiteHeadFoot>

But was wondering if there's an advantage to cfimport. (Also, does
cfimport allow cf-mapped paths now? I read that it didn't used to, at
least.)

Can someone straighten me out as to the pros and cons of <cfimport>,
<cf_MyTag>, and <cfmodule>?

Thanks,
Jamie



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272396
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to