We do this with CFMODULE.  Since the tag name is an attribute value it can
be a variable.

Also remember that CFMODULE can take a structure of attributes in the
ATTRIBUTESCOLLECTION attribute - so your attributes can be dynamic as well.

We use this in a "hostable" application where, depending on the host,
different headers and footer are called.

Jim Davis

> -----Original Message-----
> From: McCabe, Kev [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 09, 2003 5:52 AM
> To: CF-Talk
> Subject: Dynamic CF_Customtag Call?
> 
> Does any one know if it is possible to call a CF_CustomTag dynamically?
> 
> for Example:
> 
> <CFSET variable.name = "CUSTOMTAG">
> <CFOUTPUT>
>       <CF_#variable.name# option="1" />
> </CFOUTPUT>
> 
> So that it called a customtag called <CF_CUSTOMTAG option="1" />
> 
> 
> Any Ideas any one tried this with no avail:
> 
> <CFOUTPUT>
>       #evaluate("<CF_"&variable.name&" option="1" />")#
> </CFOUTPUT>
> 
> Many thanks in advanced
> 
> Kev
> 
> ____________________________________
> Kev McCabe
> ETV Developer
> ETV Development Team
> Technology Development
> British Sky Broadcasting
> Tel:  +44 (0)20 7941 5329
> Fax:  +44 (0)20 7941 5369
> Mob:  +44 (0)77 0350 2664
> Mobex: 123 5329
> Web:  <http://www.sky.com>
> Wap:  <http://mobile.sky.com>
> ____________________________________
> 
> 
> 
> 
> -----------------------------------------------------------------------
> Information in this email may be privileged, confidential and is
> intended exclusively for the addressee.  The views expressed may
> not be official policy, but the personal views of the originator.
> If you have received it in error, please notify the sender by return
> e-mail and delete it from your system.  You should not reproduce,
> distribute, store, retransmit, use or disclose its contents to anyone.
> 
> Please note we reserve the right to monitor all e-mail
> communication through our internal and external networks.
> -----------------------------------------------------------------------
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

Get the mailserver that powers this list at 
http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to