Hi there :)I'm trying to integrate the graph-drawing JavaScript library Open-jACOB Draw2D into a qooxdoo application. Unfortunately Draw2D is not sophisticated as qooxdoo - it doesn't know namespaces and uses the prototype-mechanism to introduce inheritance. It has also an "Image" class that is confusing qooxdoo's Image class.
Somewhere I read that qooxdoo doesn't use the prototype mechanism and that JavaScript libs that use it don't work well. I guess this is the root of the problem. But is it possible to integrate such libraries anyway? I want this graph-drawing lib to paint on a dedicated space in the main application page. I'm thinking about these controls
* Iframe * CanvasLayout * HtmlEmbed * InlineIn my main page I'm including first the qooxdoo script, then the 3rd party script. I'm attaching the error messages and the Image class of the 3rd party lib to show their way.
Best wishes, Rusi *** The Error Messages ***The qooxdoo Logger says: ERROR: qx.ui.basic.Image[112]: Failed while creating image #1: TypeError - this._image.style has no properties
at ... qx/ui/basic/Image.js:285
at ... qx/OO.js:662
...
Image.js:285:
this._image.style.border = "0 none";
---
Firebug says: this._image.style has no properties qx/ui/basic/Image.js:604
Image.js:604:
if (this._image)
{
// Remove leaking filter attribute before leaving page
this._image.style.filter = "";
this._image = null;
}
Image.js
Description: JavaScript source
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
