Re: [qooxdoo-devel] Migration of an individual file from 0.6.6 to0.7
Brought to you by:
ecker,
martinwittemann
From: Fabian J. <fab...@1u...> - 2007-05-31 11:52:17
|
Hi Tobias, the migration should have generated a file called "migration.log". Take a look at the comments there. Sometimes it is not possible to migrate automatically but it is possible to report a warning. I know the file can get big but it is a good idea to scan it if something doesn't work. In your case the problem is that the init process has been streamlined. The class "qx.component.AbstractApplication" has been replaced by "qx.application.Gui". Additionally you have to call "this.base(arguments)" at the beginning of your application's "main", "close" and "terminate". I hope this helps. Best Fabian > Hm... > I can't fix them ;) > > The following errors are shown when I start my app: > ------------------------------------------------- > this.getApplication() has no properties > [Break on this error] this.getApplication().terminate(); > myapp.js (line 2509) > qx.component has no properties > [Break on this error] extend : qx.component.AbstractApplication, > Oum.js (line 3) > qx.component has no properties > [Break on this error] extend : qx.component.AbstractApplication, > Logout.js (line 3) > qx.component has no properties > [Break on this error] extend : qx.component.AbstractApplication, > ButtonBar.js (line 9) > qx.component has no properties > [Break on this error] extend : qx.component.AbstractApplication, > TreePage.js (line 3) > qx.component has no properties > [Break on this error] extend : qx.component.AbstractApplication, > MainMenu.js (line 3) > qx.component has no properties > [Break on this error] extend : qx.component.AbstractApplication, > Button.js (line 10) > qx.component has no properties > [Break on this error] extend : qx.component.AbstractApplication, > Supplement.js (line 3) > qx.component has no properties > [Break on this error] extend : qx.component.AbstractApplication, > Application.js (line 22) > qx.component has no properties > [Break on this error] extend : qx.component.AbstractApplication, > Login.js (line 3) > qx.component has no properties > [Break on this error] extend : qx.component.AbstractApplication, > Page.js (line 8) > qx.component has no properties > [Break on this error] extend : qx.component.AbstractApplication, > Ui.js (line 3) > qx.component has no properties > [Break on this error] extend : qx.component.AbstractApplication, > Settings.js (line 3) > 004219 DEBUG: qx.core.Init[0]: qooxdoo 0.7-beta3FireBug.js (line 80) > 004219 DEBUG: qx.core.Init[0]: loaded 0 old classesFireBug.js (line 80) > 004219 DEBUG: qx.core.Init[0]: loaded 303 classesFireBug.js (line 80) > 004235 DEBUG: qx.core.Init[0]: loaded 3 interfacesFireBug.js (line 80) > 004235 DEBUG: qx.core.Init[0]: loaded 8 mixinsFireBug.js (line 80) > 004235 DEBUG: qx.core.Init[0]: loaded 26 themesFireBug.js (line 80) > 004250 DEBUG: qx.core.Init[0]: loaded 16 localesFireBug.js (line 80) > 004250 DEBUG: qx.core.Init[0]: client: gecko-1.8/win/deFireBug.js (line 80) > 004250 DEBUG: qx.core.Init[0]: browser: firefox/svgFireBug.js (line 80) > myapp is not defined > [Break on this error] qx.core.Init.getInstance().setApplication(myapp.Application); > index.html (line 10) > clazz is not a constructor > ----------------------------------------------- > > > I checked the api-viewer and I didn't find a component "qx.component" or "qx.compoonent.AbstractApplication" > Shouldn't it be something like "extend: qx.application.Gui" ??? > > Tobias > > |