.... unless of course you practice the ridiculous art of converting
everything to the attributes scope - as per fusebox.
I always claim that the apps I write use FBX (a derivation of FB2 or FB3)
because I've always refused to convert everything to the attributes scope.
Think this thread will start a fire? ;)
+-----------------------------------------------+
Bryan Love
Database Analyst
Macromedia Certified Professional
Internet Application Developer
TeleCommunication Systems
[EMAIL PROTECTED]
+-----------------------------------------------+
"...'If there must be trouble, let it be in my day, that my child may have
peace'..."
- Thomas Paine, The American Crisis
"Let's Roll"
- Todd Beamer, Flight 93
-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 11:39 AM
To: CF-Talk
Subject: RE: Called as module or include?
> Is there a possibility to get to know if a template
> is called either via cfmodule or cfinclude? I can
> see the difference between standalone and cfinclude
> /cfmodule by executing a check with GetBaseTemplatePath
> but no difference between the cfmodule and cfinclude
> methods.
I imagine you could test for the existence of the ThisTag scope, which will
only exist within a custom tag. But, this seems like an odd question; if you
write something to be used as a custom tag, it isn't likely to work at all
if you CFINCLUDE it.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics.
http://www.fusionauthority.com/signup.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4