Hi, (with 0.8.2 and 0.8-trunk rev 19731)
I have a table with several columns:
col0 : english text
col1 : german text
col2 : language indenpendent data
After setting up the tablemodel and table, I hide col1 (for english mode,
show only col0 and col3).
In a changeLocale event handler I reverse the visibility on col0 and col1
depending on the new locale.
This works, but has an undesired side effect. The column headers are defined
with this.tr() to also change their language depending on the selected
locale. This works fine, as long as I don't change the column visibility
inside the changeLocale handler. If I do change the visibility, the column
headers don't change their language.
A bit complicated to explain. Therefore I have attached a complete working
example including the de.po language file, that demonstrates the behavior.
Just uncomment line 117 in Application.js to see the broken behavior.
Is it a bug? Or am I doing something wrong?
Thanks and best regards,
Fritz
P.S.: No, I don't really want to change the model data each time a switch
languages. There is quite a lot of data involved.
--
Oetiker+Partner AG tel: +41 62 775 9903 (direct)
Fritz Zaucker +41 62 775 9900 (switch board)
Aarweg 15 +41 79 675 0630 (mobile)
CH-4600 Olten fax: +41 62 775 9905
Schweiz web: www.oetiker.ch
test.tgz
Description: test for table and changeLocale
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
