I am trying to create a custom tag for CF5 that will find functions in the
body of the tag and run them dynamically. The end result of the tag will be
saving or caching those user defined functions into the variable scope of my
choice. This much of the tag I have working properly. I don't know if there
is any way from inside a custom tag to dynamically run content inside of
cfscript tags like so.
<CFSCRITP>
thistag.generatedContent;
</CFSCRIPT>
Any idea's on how I could accomplish this. The tag looks like this in the
calling template
<CF_FunctionCache Scope="Application">
function myFunction(){
// do stuff
}
</CF_FunctionCache>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists