Ralf Nieuwenhuijsen schrieb:
> 2008/6/17 Fabian Jakobs <[EMAIL PROTECTED]>:
>   
>> Very soon other widgets popped up, which needed special handling. Each
>> widget, which displays text outside of label widgets
>>     
>
> The label widget exists for a reason: to model labels. There should be
> no exceptions where text is displayed outside of a label widget.
>   
There are some places, where text can be displayed outside of labels. 
Some of them are used in the framework others may be required in 
application code:

 - HtmlEmbed: Any text displayed there is outside of the label. This 
will effect e.g. a translated API viewer
 - TextField/TextArea
 - Text inside of a table. Changing the language of text inside of a 
table is currently not supported and needs special handling in user code

The functionality of these widgets cannot be mapped to a label widget. 
The other place where locale changes must be observed are all widgets 
dealing with date, number, currency, ... formatting and parsing. The 
date chooser is one example for this.
> That's to me looks like a nightmare of complexity issues, weird bugs, etc.
> All complex ui widgets should consist only of the core ui widgets.
>
> Am i mistaken? Are the performance penalties too big? Has this been
> measured? Does the label widget lack features?
>   
We have not measured it yet. I expect the runtime performance in non IE 
browsers to be roughly the same but we safe a huge amount of objects. 
This directly impacts the performance of IE6, which is very sensitive to 
the number of allocated objects, and helps to reduce the overall memory 
consumption of the application.


Best Fabian
> Greetings,
> Ralf N.
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>   


-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG
Brauerstraße 48
76135 Karlsruhe

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Matthias Greve, Robert Hoffmann, Markus Huhn, Oliver Mauss, Achim 
Weiss
Aufsichtsratsvorsitzender: Michael Scheeren


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to