Hello,

I've a Qooxdoo (0.8) main application looking like this:

qx.Class.define("qootest.Application", {
  extend: qx.application.Inline,
  members: {
    (...)
    myMethod: function()
    {/* */}
  }
});

I want to call the "myMethod" function from another non-qooxdoo
javascript file. So I tried this:

(...)
</head>
<body>
<script type="text/javascript" src="script/qootest.js"></script>
<script type="text/javascript">
   var myApp = qx.core.Init.getInstance().getApplication();
   myApp.myMethod();
</script>
(...)

But it doesn't work: qx.core.Init is undefined. Do I've to
compile the non-qooxdoo file or put it into a specific
directory?

Greetings
raef

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to