Fabian Jakobs wrote:
> Daniel Haferkorn schrieb:
>> The resulting JS files don't seem to work but I have to take a deeper
>> look into this issue before I can say any more about it.
>>
> Does the files have JavaScript syntax errors or is your application
> simply not working?
>
> I would really appreciate your feedback to make the migration as smooth
> as possible.
>
> Best Fabian
>
Hello Fabian,
I have examined the result of the migration a bit more and compared it
to the new skeleton.
The resulting JS still has the line
extend: qx.component.AbstractApplication,
whereas in the skeleton it is
extend : qx.application.Gui,
Also, I guess the call
qx.component.AbstractApplication.call(this);
should not be there anymore. Is
this.base(arguments);
the replacement?
And finally, the line
qx.io.Alias.getInstance().add("timeit",
qx.Settings.getValueOfClass("timeit.Application", "resourceUri"));
is now different in the skeleton, there it would be something like
qx.io.Alias.getInstance().add("timeit",
qx.core.Setting.get("timeit.resourceUri"));
I still get a few error messages when trying to load the application:
1:
Forbidden setting "resourceUri" found in "timeit.Application". It is
forbidden to define a default setting for an external namespace!
[Break on this error] throw new Error('Forbidden setting "' + key + '"
found in "' + nam...
2:
Error in property application of class qx.core.Init in method
setApplication with incoming value 'undefined': Undefined value is not
allowed!
[Break on this error] throw new Error(msg + (this.__errors[id] ||
"Unknown reason: " + id));
3:
clazz is not a constructor
_onload(load )Init.js (line 190)
wrap()Function.js (line 165)
[Break on this error] this.setApplication(new clazz(this));
Strange thing is, even the skeleton won't show any gui objects (the
button), but it also doesn't give me any error messages.
I'll be still using the 0.6.6 version for production for the time being,
but I'll try to make further tests in 0.7b if additional testing is
still needed or if you need any more details regarding this errors.
Regards,
Daniel Haferkorn
Regards,
Daniel Haferkorn
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel