Sorry, I was too terse with my question... I'll be a bit more verbose here.
cfheader is used to put dynamic info into the head/head section of the html
returned by CF to a browser making a request. I use it all the time to put in
clientside javascript.
My issue is how to do this to a body
What I have done in the past is create a Request variable to store
information about my main HTML tags in an action, and then output them in my
display file (Fusebox):
!--- app_globals.cfm ---
cfscript
function initHTML() {
Request.HTML = StructNew();
First, you must set DynamicContentVariable to some value
cfset DynamicContentVariable=loademup();
Then you must output the variable using cold fusion
body onload=cfoutput#DynamicContentVariable#/cfoutput
Finally, it must be saved as a .cfm file (or a file type handled by the Cold Fusion
You need to move your body tag down into the layout file ...
Sorry, I was too terse with my question... I'll be a bit more verbose
here.
cfheader is used to put dynamic info into the head/head section of
the html returned by CF to a browser making a request. I use it all the
time to put in
4 matches
Mail list logo