OK, I know this is going to be simple, but I haven't used frames very much.
I'm in a fusebox setting. I have a variable which I'm setting in one
template. Then the next template is included which defines a frameset. This
variable is available in this template. But one of the frames is a cf
template and the variable isn't resolvable there. I tried request and client
scope with no luck.
Here's the excerpt from my fbx_switch:
<cfcase value="tree2">
<cfinclude template="qry_drawtree.cfm">
<cfinclude template="act_setvar.cfm"> SETS THE VARIABLE
<cfinclude template="dsp_tree2.cfm"> DEFINES THE FRAMESET
</cfcase>
Here's the frameset:
<frameset rows="60,*,40" border="0">
<frame name="header" src="dsp_header.cfm" marginwidth="15"
marginheight="15" scrolling="no" frameborder="0">
<frameset cols="300,*" border="0">
<frame name="tree" src="dsp_treeframe.cfm" marginwidth="2"
marginheight="2" scrolling="auto" frameborder="0">
<frame name="content" src="dsp_content.cfm" marginwidth="15"
marginheight="15" scrolling="auto" frameborder="0">
</frameset>
<frame name="footer" src="dsp_footer.cfm" marginwidth="15"
marginheight="15" scrolling="no" frameborder="0">
</frameset>
And my variable isn't resolvable in dsp_treeframe.cfm.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.