Luis Majano Forums Notification: Post to Frames

Title: RE: Frames
Thread: Frames
Forum: Discussions
Conference: ColdBox
User: lmajano

Thank you Oscarito, Right On!!

You can have a main event do your frameset
display with the two other events firing on your frameset declarations.
[code]
<cfoutput>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-1" />
<title>ColdBox Dashboard
#getSetting("version")# powered by the ColdBox Framework</title>
</head>
<frameset rows="97,*" framespacing="0" frameborder="no" border="0">
  <frame
src="index.cfm?event=#Event.getValue("xehHeader")#" scrolling="no"
noresize="noresize" id="topframe" name="topframe" frameborder="false" />
<frame src="index.cfm?event=#Event.getValue("xehHome")#" scrolling="auto"
noresize="noresize" id="mainframe" name="mainframe" frameborder="false" />
</frameset>
<noframes>
<body>
</body>
</noframes>
</html>
</cfoutput>
[/code]

Then the other framesets get the xeh of the events to execute.

http://www.luismajano.com/forums/index.cfm?event=ehMessages.dspMessages&threadid=BFD20C58-123F-6116-42E6D0003646BE56