That's not necessarily true (that it must be known at parse time) -- though the engine for Fusebox 4 doesn't support it... it's conceivable that the parsing engine could check for the presence of the # character and when present replace the usual method of inclusion with a <cfmodule> call to the main template or a <cfinclude> tag which includes the parsed template for the specified fuseaction (which would of coure would require testing for and if not present parsing the file). I'm guessing this would also be another option for handling the scenario described -- creating an include template which calls Fusebox via cfmodule using a passed variable for the fuseaction. It would be more overhead on the server tho.
> Yes a variable can be used in the include tag because that > is simply > translated into a cfinclude. The difference is that a <do> > tag is > replaced by all the code that makes up that do...so > there's no way to > let that be a variable, it has to be known at parse time. > On Wed, 12 Jan 2005 19:05:00 -0500, S. Isaac Dealey > <[EMAIL PROTECTED]> wrote: >> > Isaac, that won't work because do tags are dealt with >> > at >> > parse time, not at runtime. >> >> Good to know... I wasn't sure. >> >> Though if not <do> (which would be best if available) >> then the >> variable could be used in an <include> tag right? >> >> s. isaac dealey 954.927.5117 >> new epoch : isn't it time for a change? >> >> add features without fixtures with >> the onTap open source framework >> >> http://macromedia.breezecentral.com/p49777853/ >> http://www.sys-con.com/story/?storyid=44477&DE=1 >> http://www.sys-con.com/story/?storyid=45569&DE=1 >> http://www.fusiontap.com >> >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Now there’s a better way to fax. eFax makes it possible to use your existing email account to send and receive faxes. Try eFax free. http://www.houseoffusion.com/banners/view.cfm?bannerid=63 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190232 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

