28 Nov 2009 8:27 AM #351
Depending on what this means:
Why not render an HTMLEditor(it is an iframe) into a regular Ext.Window instead? Is there a compelling reason to nest multiple frames for editing?
28 Nov 2009 8:34 AM #352
The application is a content management system where I'm trying to pull in the template page, which is fully described HTML, including stylesheets, etc, and replace key portions of the template with panels. (actually I misspoke, I'm not putting htmleditors in there now - those will be in a dialog)
So, I'm trying isolate the page template from the rest of the ext app so that CSS doesn't interfere.
I'm doing some debugging and found something interesting - if I put in a break point in multidom and loop through the code, it works. If I remove the breakpoint then it doesn't. This leads me to believe that I'm doing something in the wrong order and something isn't ready when it needs to be - but by delaying it it works.
Now that I've changed from using embedded HTMLEditors, I think I'm going to do some other HTML trickery before the iframe is loaded to link the template panels back to my code via other JS functions. So this question is probably moot besides an academic exercise.
Re: the asserts -yeah, I see that now, not a pattern that I tend to use just because it prompts questions from people like me. and it could cause you debugging headaches later.
28 Nov 2009 8:41 AM #353
I would recommend you load either miframe.js or miframe-debug.js from the /builds directory. Things are arranged properly there.
30 Nov 2009 4:55 AM #354
Is messaging still supported?
Is messaging still supported?
Using IE8 and script looking like
30 Nov 2009 5:31 AM #355
Doesn't depend if executed in IFrame or in Host window.
IE8, Ext 3.0.1, MIFrame 2.0.1
30 Nov 2009 2:00 PM #356
Dealed with "Object expected" error - need to work with frame when "documentloaded" event fired. But messaging still don't work. Does anybody have any living example of messaging (the one from FAQ in not working)?
1 Dec 2009 7:26 AM #357
- Join Date
- Nov 2008
- San Diego, Peoples' Republic of California
- Vote Rating
Powerful, flexible, advanced charting for ExtJS and Touch: http://zingchart.com
1 Dec 2009 7:59 AM #358
Still working around creating of MIFrame, which child page would have "sendMessage" method. Seems that child is ordinary IFrame and it doesn't understand sendMessage("..."). Seen some code for "onerror" event in IFrame - does it parse exception on child frame and converts it to message?
Will appreciate any messaging example, working under ExtJs 3.0.3 IE8.
1 Dec 2009 12:50 PM #359
I'm using ManagedIframe to show a PDF using submitAsTarget and it works great on FireFox, Safari and Chrome using browser's Acrobat Plugin (on windows) or Preview plugin (on mac).
But, with IE8 it shows HTTP ERROR 405: Method not allowed. The exact message is:
"This error (HTTP 405 Method Not Allowed) means that Internet Explorer was able to connect to the website, but the site has a programming error."
Is the PDF rendering with submitAsTarget supported in IE8?
Any workaround on this?
2 Dec 2009 5:33 AM #360