Crap, never mind, fixes the error but does not preserve the
functionality.  I'll post back if I can do better.

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Wednesday, November 12, 2008 2:24 PM
To: [email protected]
Subject: RE: [flexcoders] IFrame, BrowserManager, HistoryManager errors.

 

Just a single case fix of course, but it is what I need.

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Wednesday, November 12, 2008 2:22 PM
To: [email protected]
Subject: RE: [flexcoders] IFrame, BrowserManager, HistoryManager errors.

 

Looks like just a bit of code to fix the IFrame without history problem,
at about line 352 of Iframe.as:

 

              if (url == null)  {

                appHost = "http://";

              }

              else {

              appHost = URLUtil.getProtocol(url) + "://" 

                  + URLUtil.getServerNameWithPort(url);               

              }

Tracy

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Wednesday, November 12, 2008 1:30 PM
To: [email protected]
Subject: [flexcoders] IFrame, BrowserManager, HistoryManager errors.

 

I am trying to use Alistair Rutherfords IFrame component in a Flex 3 app
and have a a couple issues (one with fix).

First, unless I enable history management in the wrapper, the IFrame
component throws an error because BrowserManger.getInstance().url is
null.  Is this to be expected, that BrowserManager requires history
enabled?  I really do NOT want history management, but  I see that
History IS enabled on all of the Iframe examples.  I think can solve
this by modifying Iframe, but want to verify my observations first.

Second, if I enable history, then the Iframe component works, but in IE
6, I get a script error from the history.js script at the line that
calls "getHistoryFrame()", because that returns null (return
document.getElementById('ie_historyFrame');)  For some reason the
ie_history frame is not getting created.  Firefox is ok.

FIX FOR SCRIPT ERROR FOUND! There is a line in history.js that is
commented out: iframe.src = historyFrameSourcePrefix; Uncommenting it
fixes the problem. This appears to be an issue with IE6.

Tracy

 

Reply via email to