Hi Fritz, older qooxdoo versions used XUL labels in Gecko browsers. Since Mozilla removed that feature, that code will break. So you'll need to update your application or apply the patch attached to the bug report:
http://bugzilla.qooxdoo.org/show_bug.cgi?id=4058 Regards, Daniel On 08/17/2011 01:46 PM, Fritz Zaucker wrote: > I can observe something similar with an old version of an application not > opening in FF 5 (and 4 I believe), but opening in FF 3.x: > > http://model.agrammon.ch/single > > (the loading screen you see is just an animated GIF). > > The error shown in Firebug is > > uncaught exception: [Exception... "Component returned failure code: > 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMHTMLDocument.createElementNS]" > nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: > http://model.agrammon.ch/single/script/Agrammon.js :: <TOP_LEVEL> :: line > 8558" data: no] > uncaught exception: [Exception... "Component returned failure code: > 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMHTMLDocument.createElementNS]" > nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: > http://model.agrammon.ch/single/script/Agrammon.js :: <TOP_LEVEL> :: line > 8558" data: no] > uncaught exception: [Exception... "Component returned failure code: > 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMHTMLDocument.createElementNS]" > nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: > http://model.agrammon.ch/single/script/Agrammon.js :: <TOP_LEVEL> :: line > 8580" data: no] > > and the relevant piece of code is > > (function(){var > r="qx.client",q="gecko",p="div",o="inherit",n="text",m="value",l="",k="hidden",j="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",i="nowrap",J="auto",I="0",H="ellipsis",G="normal",F="label",E="px",D="crop",C="end",B="100%",A="visible",y="qx.bom.Label",z="Please > > use > qx.Class.define(y,{statics:{__jm:{fontFamily:1,fontSize:1,fontWeight:1,fontStyle:1,lineHeight:1},__jn:function(){var > > U=this.__jp(false); > document.body.insertBefore(U,document.body.firstChild); > return this._textElement=U; > },__jo:function(){var V=this.__jp(true); > document.body.insertBefore(V,document.body.firstChild); > return this._htmlElement=V; > },__jp:function(d){var e=qx.bom.Element.create(p); > var f=e.style; > f.width=f.height=J; > f.left=f.top=s; > f.visibility=k; > f.position=t; > f.overflow=A; > > if(d){f.whiteSpace=G; > }else{f.whiteSpace=i; > > =>>> line 8558: if(qx.core.Variant.isSet(r,q)){var > g=document.createElementNS(j,F); > > if(K){var M=L.document.createElement(p); > M.useHtml=true; > }else if(qx.core.Variant.isSet(r,q)){var M=L.document.createElement(p); > line 8580: var O=L.document.createElementNS(j,F); > var N=O.style; > N.cursor=o; > N.color=o; > N.overflow=k; > N.maxWidth=B; > N.padding=I; > for(var P in this.__jm){O.style[P]=o; > }O.setAttribute(D,C); > M.appendChild(O); > }else{var M=L.document.createElement(p); > qx.bom.element.Style.setStyles(M,this.__jq(K)); > } > if(content){this.setValue(M,content); > }return M; > },setValue:function(S,T){T=T||l; > > > NOTE: this app is using Qooxdoo 1.2. I didn't investigate further as we are > going to replace this app with a new version using Qooxdoo 1.5.x, but > perhaps > this gives somebody an idea where to look. > > Cheers, > Fritz > > On Wed, 17 Aug 2011, Christian Hagendorn wrote: > >> Hi Johann, >> >> this sounds more like an script errror or an other issue, because >> qooxdoo 1.4 supports IE9. >> >> Does the IE9 developer tool log any errors? Open the tool by pressing >> F12 and reload your application. >> >> Cheers, >> Chris >> >> Am 17.08.2011 12:29, schrieb Johann Mellin: >>> hi there, >>> >>> successfully I upgraded a very old qooxdoo version (from 0.82 to 1.4). >>> If I open my qooxdoo-application it depends on the browser version, >>> what I can see. Where as in older browsers such as FF 4 or IE 8 >>> everything works fine, in newer browsers like for instance FF 5 >>> or IE 9 one can only see a white page. >>> >>> Can you help to get the application running also in >>> "up-to-date browsers" ? Can I log something in order to >>> track the error ? Howtos ? other websources... >>> >>> Thanks in advance for your help ! >>> >>> regards, >>> >>> Johann >>> >>> >>> >>> -- >>> NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! >>> Jetzt informieren: http://www.gmx.net/de/go/freephone >> >> > > > > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 > > > > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
