Hi,

I tried the following:

this.ld.push({ title : { text : this.tr("ProjektMP_AM statefilter state new
aufmass" ) }, id : { text : 0 }, icon : { source : CONFIG["flare_icon"] +
"/_flare_state_yellow.gif"}});

and get the following error:

038454 ERROR: qx.ui.listview.ContentCellText[2399]: Attention! The value
"Sprachvariable Test" is an invalid value for the property "text" which must
be typeof "string" but is typeof "object"!: Error - at
https://localhost/go/AJAX/qooxdoo-0.6.6-sdk/frontend/framework/source/class/qx/OO.js:634
....
..


I also tried to used the langvars for a table entry and also got an
error....

I thought it is possible to use this.tr() everywhere.

I also tried:   toString(this.tr("ProjektMP_AM statefilter state new
aufmass" ))
but this doesn`t return the value of the language var :(

I`m using qooxdoo 0.6.6

Thanks for any help

Philipp
-- 
View this message in context: 
http://www.nabble.com/How-to-set-this.tr%28%29-as-textvalue-in-listviews--tf3727026.html#a10430534
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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