----- Original Message ----- From: "Bryan Love" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, June 19, 2003 2:49 PM Subject: RE: Called as module or include?
> .... unless of course you practice the ridiculous art of converting > everything to the attributes scope - as per fusebox. Kinda like JSP does -- request.getAttributes(). What a crazy idea...... > 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? ;) > Maybe it's just a little bit of a troll..... Mod (-1) please :) Regards, John Paul Ashenfelter CTO/TransitionPoint > +-----------------------------------------------+ > 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 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

