Dave Carabetta wrote:
>>you should just reload the lower frame onload of the upper.
>>
>>parent.html
>>     -frame1.html
>>     -frame1.html
>>
>>in frame1.html just go:
>>
>><body onload="top.frames[1].location=top.frames[1].location;">
>>
> 
> Maybe I'm missing what you're getting at, but I'm not sure how that helps my 
> situation. I know how to auto-refresh the bottom frame -- that's not the 
> hard part. What I want is for the query that runs in the top frame to be 
> available for the bottom frame as well.
> 
> So ideally:
> 
> -- parent frame which contains framset markup
>    -- run query for both frames
>    -- load top frame using above recordset
>    -- load bottom frame using same recordset
> 
> Using the onLoad handler doesn't allow the query in the top frame to be 
> available to the bottom frame, does it?

How about having the top frame submit to itself. All processing is done 
normally and in the end query is set to a session variable with a unique 
name. After that you add 1 javascript function using cfhtmlhead. The 
function looks something like:
function reloadBottom() {
     top.frames[1].location = 'blahblah.cfm?fromcache=#uniquename#';
     }

On the resulting request you just grab the query from the session scope 
based on the unique name. If it is large don't forget to delete the 
session variable afterwards.

Jochem

______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to