Nat,
I have been trying to get something working and I
think you may be the person that can answer this.
Basically, I have to refresh the entire frameset each
time a user has completed an action on a page (ie
inserted/updated data). I send them through the
display fuse for the frameset to accomplish this, but
I lose all my attribute scoped variables in the
process. In some cases I need to pass form field
values into another page and hold them until the user
returns to the main form to insert data. I got the
form fields into a wddx packet and was able to unpack
them, but not pass them across the refresh of the
frameset (ie same problem above). Here is some of my
code, maybe you have an idea of what I am doing wrong.
index.cfm
<!--- frameset display fuse --->
<CFCASE value="dspframeset">
<!--- <CFINCLUDE template="act_formpack.cfm"> --->
<!--- Includes the frameset which displays form (add
or update) --->
<CFINCLUDE template="dsp_frameset.cfm">
</CFCASE>
<!--- left menu display fuse --->
<CFCASE value="dspleftmenu">
<!--- Includes the left menu for the frameset --->
<CFINCLUDE template="dsp_leftMenu.cfm">
</CFCASE>
<CFCASE value="dspquestions">
<!--- Includes the questions page --->
<CFINCLUDE template="dsp_questions.cfm">
</CFCASE>
Sending the user back with this:
index.cfm?fuseaction=dspframeset&CenterFrameSource=dspAddUpdateform&caseid=<cfoutput>#attributes.caseid#&#request.urltoken#</cfoutput>
Andrew
--- Nat Papovich <[EMAIL PROTECTED]> wrote:
> I have a decent frames and fusebox powerpoint and an
> accompanying code
> sample to check out at
>
http://www.webthugs.com/consulting/index.cfm?fuseaction=gang.
>
> Enjoy!
>
> NAT
>
> > -----Original Message-----
> > From: Andrew Middleton
> [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, May 07, 2001 10:58 AM
> > To: Fusebox
> > Subject: Re: Frames- again
> >
> >
> > I too was having a problem understanding this at
> > first, but here is what you should do:
> >
> > This was your old code:
> >
> > <FRAMESET COLS="20%,80%">
> > <FRAME SRC="studentlist.cfm" NAME="StuList">
> >
> > <FRAME SRC="dsp_StuSubjects.cfm?STUDENTID=0"
> > NAME="StuEdit">
> > </FRAMESET>
> > </HTML>
> >
> > You want to point the user back to the index.cfm
> file
> > always, with different fuseactions as such:
> >
> > <FRAMESET COLS="20%,80%">
> > <FRAME SRC="index.cfm?fuseaction=actstudentlist"
> > NAME="StuList">
> >
> > <FRAME
> >
>
SRC="index.cfm?fuseaction=dspStuSubjects&=#STUDENTID#"
> > NAME="StuEdit">
> > </FRAMESET>
> > </HTML>
> >
> > Try this and if you get the hang of it check out
> the
> > following for more on frames and fusebox:
> >
> >
>
http://www.fusebox.org/Files/presentations/FuseboxandFrames.ppt
> >
> >
>
http://www.grokfusebox.com/downloads/Extended_Fusebox_101.doc
> >
> >
> > --- Janine Jakim <[EMAIL PROTECTED]> wrote:
> > > 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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists