I use a coldfusion mapping inside my custom tags. The mapping value is stored in the application.cfm file, and hence is different depending on which application called the tag..
Darryl -----Original Message----- From: Adam Chapman [mailto:[EMAIL PROTECTED]] Posted At: Tuesday, 7 January 2003 2:09 PM Posted To: CFAussie Conversation: [cfaussie] cfinclude from a custom tag.. Subject: [cfaussie] cfinclude from a custom tag.. Hi Everyone, Is it possible to do something like this.. I have a number of websites which will use the same custom tag. The custom tag will do some processing to determine which template to cfinclude and cfinclude that template. The problem comes when actually trying to cfinclude the template as the relative path is relative to the custom tag and not the template from which the custom tag is called. I know the full path to the file i want to include but need a relative path. Any ideas? (besides placing the custom tag in every website.. which kind of defeats the purpose of a 'global' code template) I guess i could create a caller scope var and cfinclude the template outside of the tag but would like to have all code in the custom tag if possible.. Am i making sense? I didnt think so either.. Regards, Adam --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/ --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
