Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [rap-dev] Building qooxdoo

Hi Boris,

you would need to check out the org.eclipse.rap.qx.build project from the releng folder in CVS. It contains the qx source files and a shell script to build qx/qx-debug.js. Then change the code in the original qx file, source/class/qx/ui/embed/Iframe.js in your case I guess. Now run the build that produces the qx/qx-debug.js. There is a very small how-to in the readme.txt at the projects' root. Come back here if you are having trouble. Note that you will need some cygwin packages on Windows in order to run the build. See the qooxdoo home page for details.

If you want to have the changes integrated in RAP, please create a patch from the IFrame.js and attach it to the bug or directly send the patch to the corresponding qooxdoo bug.

HTH
Rüdiger

Boris Stepanov wrote:
Hi all,

I've fixed problem described there (http://dev.eclipse.org/newslists/news.eclipse.technology.rap/msg05609.html). Problem was in qooxdoo, as Rüdiger assumed.

To fix it look for method _generateIframeElement and change line
var frameEl=qx.ui.embed.Iframe._element=document.createElement('<iframe onload="parent.qx.ui.embed.Iframe.load(this)" '+nameStr+'></iframe>');

to

var frameEl=qx.ui.embed.Iframe._element=document.createElement('<iframe '+nameStr+'></iframe>'); frameEl.attachEvent("onload", function(){qx.ui.embed.Iframe.load(frameEl)});

I've checked it using DEBUG mode and qx-debug.js. How can I build qx.js including this fix?

--
Boris Stepanov

_______________________________________________
rap-dev mailing list
rap-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/rap-dev



Back to the top