You need 3 fuseactions in your index.cfm:
case "StudentList" include dsp_studentList.cfm /case case "StudentSubjects" include dsp_studentSubjects.cfm /case case "FrameSet" include dsp_frameSet.cfm /case
You also need to set the default fuseaction to "FrameSet" (<cfparam name="attributes.fuseaction" default="FrameSet"> in app_locals or app_globals).
You need this frameset in your dsp_frameSet.cfm file:
<frameset cols="20%,80%"> <frame src="index.cfm?fuseaction=StudentList" name="StuList"> <frame src="index.cfm?fuseaction=StudentSubjects" name="StuEdit"> </frameset>
In dsp_studentList.cfm file you use links like this:
{a href="index.cfm?fuseaction=StudentSubjects&studentid=#studentid# target="StuEdit">#lname# #fname#</a>
That's it. (Nat stylah: "Don't be a friggin idiot! Use fusebox and frames":)
-erki
----- Original Message ----- From: "Janine Jakim" <jjakim@albemarle.org> To: "Fusebox" <Fusebox@houseoffusion.com> Sent: Monday, May 07, 2001 6:40 PM Subject: Frames- again
I am feeling very "thick skulled on this frame issue. Maybe if someone can look at my code and say where the changes physically would be, etc it may help. In regular old fashion CF this is what I had on my frame page:
<FRAMESET COLS="20%,80%"> <FRAME SRC="studentlist.cfm" NAME="StuList">
<FRAME SRC="dsp_StuSubjects.cfm?STUDENTID=0" NAME="StuEdit"> </FRAMESET> </HTML>
MY 1st frame had the list of students and I used the following to target the center frame:
<A HREF="dsp_StudentSubjects.cfm?STUDENTID=#STUDENTID#" TARGET="StuEdit">#LNAME#, #FNAME#</A> </CFOUTPUT>
The main frame would display the appropriate student information to be updated....I keep getting error messages when I try to do this/variations of this in fb. I can't get this link to show any specific student- I keep getting an error....I know it's something simple....
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/fusebox@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists