Hello,

I've had this problem for a while but it just moved upwards on the 
priority list.
In my application I use a table widget. Whenever the locale get changed 
and all the labels get updated with the new text in the other language, 
Firebug shows 15 errors.

This is one of the errors:
105938 ERROR: qx.locale.Manager[21]: Could not dispatch event of type 
"changeLocale": TypeError - this.getHtml() has no properties
   at 
file:///C:/qooxdoo/qooxdoo-0.6.6-sdk/frontend/framework/source/class/qx/ui/basic/Label.js:188
   at 
file:///C:/qooxdoo/qooxdoo-0.6.6-sdk/frontend/framework/source/class/qx/core/Target.js:241
   at 
file:///C:/qooxdoo/qooxdoo-0.6.6-sdk/frontend/framework/source/class/qx/core/Target.js:199
   at 
file:///C:/qooxdoo/qooxdoo-0.6.6-sdk/frontend/framework/source/class/qx/OO.js:686
   at 
file:///C:/qooxdoo/timeit/frontend/source/class/Application/Application.js:276
   at 
file:///C:/qooxdoo/qooxdoo-0.6.6-sdk/frontend/framework/source/class/qx/client/Timer.js:177
   at 
file:///C:/qooxdoo/qooxdoo-0.6.6-sdk/frontend/framework/source/class/qx/core/Target.js:241
   at 
file:///C:/qooxdoo/qooxdoo-0.6.6-sdk/frontend/framework/source/class/qx/core/Target.js:199
   at 
file:///C:/qooxdoo/qooxdoo-0.6.6-sdk/frontend/framework/source/class/qx/core/Target.js:150
   at 
file:///C:/qooxdoo/qooxdoo-0.6.6-sdk/frontend/framework/source/class/qx/client/Timer.js:122
   at 
file:///C:/qooxdoo/qooxdoo-0.6.6-sdk/frontend/framework/source/class/qx/client/Timer.js:45

By using breakpoints in the source file, I was able to pinpoint the 
culprit. All the errors are happening between the change of the first 
and the second header cell of the table. I don't use any special 
characters in the header cells and I have absolutely no clue why this 
happens between the first and the second header column.
If I remove the table completely from the application, the locale change 
is also much faster.

Has anyone had problems like this before?


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
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to