|
My guess is, the iframe is used for the
HistoryManager; so when you click on the Accordion pane or TabPane views, they
generate a post-back in that iframe, therefore generating a true navigation
registered in _javascript_, but not actually refreshing the main
page.
----- Original Message -----
From: Pushkar Phatak
Sent: Thursday, April 07, 2005 1:16 PM
Subject: [flexcoders] Additional Code generated in the
jsp Hello,
I was formatting the the output for an application. The MXML file is embedded in the <body> </body> tags as shown
below
<body
bgcolor="#FFFF33">
<%@ taglib uri="FlexTagLib" prefix="mm" %> <mm:mxml source="Main.mxml"/> </body> The resulting "generated" code at run time is this.. (end of the mail for
more questions
<table width='100%' height='100%' cellspacing='0' cellpadding='0'><tr><td valign='top'> <script language='_javascript_' charset='utf-8' src='/samples/flex-internal?action="">></script> <noscript> <object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,14,0' width='100%' height='400' id='Main.mxml.swf' > <param name='flashvars' value='versionChecked=true'> <param name='src' value='Main.mxml.swf'> <embed pluginspage='http://www.macromedia.com/go/getflashplayer' width='100%' height='400' flashvars='versionChecked=true' src='Main.mxml.swf' name='Main.mxml.swf' /> </object> </noscript> <script language='_javascript_' charset='utf-8'> document.write("<object classid='' codebase='' width='100%' height='400'"); document.write("id='Main.mxml.swf'"); document.write(">"); document.write(" <param name='flashvars' value='historyUrl=%2Fsamples%2Fflex%2Dinternal%3Faction%3Dhistory%5Fhtml&lconid=" + lc_id +"&versionChecked=true'>"); document.write(" <param name='src' value='Main.mxml.swf'>"); document.write(" <embed pluginspage='http://www.macromedia.com/go/getflashplayer' width='100%' height='400'"); document.write(" flashvars='historyUrl=%2Fsamples%2Fflex%2Dinternal%3Faction%3Dhistory%5Fhtml&lconid=" + lc_id +"&versionChecked=true'"); document.write(" src=''"); document.write(" name='Main.mxml.swf'"); document.write(" />"); document.write("</object>"); </script> <script language='_javascript_' charset='utf-8'> document.write("<br><iframe src='' name='_history' frameborder='0' scrolling='no' width='22' height='0'></iframe></br>"); </script> </td></tr></table> What I dont get is why is there an additioanl iframe generated with the object? (red) Thanks Pushkar Yahoo! Groups Links
|
- RE: [flexcoders] Additional Code generated in the jsp JesterXL
- RE: [flexcoders] Additional Code generated in the jsp Ian Welsh
- RE: [flexcoders] Additional Code generated in the jsp Matt Horn
- Re: [flexcoders] Additional Code generated in the jsp Pushkar Phatak
- RE: [flexcoders] Additional Code generated in the jsp Abdul Qabiz
- Re: [flexcoders] Additional Code generated in the ... Pushkar Phatak

