hi Andrew,

same as with any other such situation of calling a sub-frame from outside
the site and having to reload the frameset on-the-fly. DOn't have it here
with me, but there's a little snippet of JS you can use to check for the
existance of the parent frameset--if it's not there then you load the
frameset first.

Since you would normally load the frameset as part of the default
fuseaction, you will want to capture the fuseaction you were going to load,
pop it into CF_RETURNFUSEACTION, call the fuseaction that loads the frame,
and the call the return fuseaction.

Or, just as good, you make the content frame of the frameset be a variable
fuseaction, which is normally populated with the a default fuseaction, but
in your case uses this other bookmarked fuseaction, (this is the same idea
as using a default fuseaction for your fuebox except here you're using some
default fuseaction(s) for your frameset(s) ), something like

<cfparam name="attributes.contentframefuseaction" default="welcomeback">
<frameset>
    <frame src="#self#?fuseaction=#attributes.contentframefuseaction#">
</frameset

(Your fusebox already had the <cfparam name=attributes.fuseaction
value="loadFrameset"> right?)
so then after you tested for the parent frameset existance, you'd capture
the fuseaction that came in, part of the Query_String, and then use that in
the frame SRC above.

Make sense?


----- Original Message -----
From: "Andrew Tollervey" <[EMAIL PROTECTED]>
To: "Fusebox" <[EMAIL PROTECTED]>
Sent: Thursday, February 15, 2001 3:09 PM
Subject: Re: Fusebox, Fuseactions and Frames


> Hello All!
>
> I understand how fusebox and frames work. However, how do I get the
fusebox
> to recognise when a fuseaction has been processed outside the frames and
> then redirected the user back into the frames while still keeping the
> original fuseaction intact? If I type index.cfm after the domain name, the
> frames are loaded as normal. However, if I type index.cfm?fuseaction=login
> (or whatever) directly into the browser, the page gets loaded outside the
> frames. Any ideas/solutions for this? Solving this problem would be very
> handy for those people coming to a site from search engines who miss the
> home page and go directly to a fuseaction page .
>
> Thanks,
>
> Andrew
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to