> i have not tryied the source version, the script depends on some backend in > php which i have only created in our testing environment. i will try to > upload the source version manually into this. >
You should strive to develop in the source version, as it is so much easier to inspect and debug, and you get extra warnings. If you cannot manage to work offline of the backend (using proxy/mock objects etc., which would be also better for e.g. unit testing), take a look at this page for running a source version from a web server: http://qooxdoo.org/documentation/0.8/snippets#running_a_source_version_from_a_web_server > first here is the code which loads the Step0 class by name > > ... > qx.io2.PartLoader.require([name], function() { > this.info("createStep: " + name); > this.atmStep.setLabel(name); > var clazz = > qx.Class.getByName("callcenter2.steps."+name); > // neue Instanz des Steps erzeugen > var next = new clazz(this.userdata); > // View holen > if(next.getView() == "") { > this.setHtmlSource(name); > } else { > > this.setHtmlSource(next.getView()); > } > this.viewStep = next; > this.scroll.add(this.viewStep); > > next.addListener("loadStep", > this._changeStep, this); > next.addListener("loadView", > this._loadHtml, this); > > if(name != "WV") > this.userdata.setStep(name); > }, this); > ... > > > This looks good, apart from the fact that I cannot judge the "name" variable. Just for the sake of testing, have you tried loading the part explicitly, like qx.io2.PartLoader.require(["callcenter2.steps.Step0"], function(){ this.info(callcenter2.steps.Step0); }, this); ? T. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
