Hello guys!
I have a little problem with eval(); and run-build;
because code like:
var columnTitle = "get from somewhere else";
var myLabel = new qx.ui.Label(eval("this.tr(columnTitle);"));
changes to:
var y = "this.tr(columnTitle);"
var Dd = "get from somewhere else";
var De = new qx.ui.Label(eval(y));
And oops, nothing works :)
I solved this, like this:
var myLabel = new qx.ui.Label(eval("this.tr('" + columnTitle + "');"));
which builds into something like this:
var y = "this.tr('" + Dd+ "');";
var De = new qx.ui.Label(eval(y));
So, working with simple strings can be easily done; But, looking into
future - I have a question.
Can I specify a variable names, which would not changed during build?
for example, variable name "globalApplication" - I don't want to be
changed to some random XX.
Is this possible? :)
And, with that I'm not want to get working translations, that's for
other purposes.
--
Best Regards
Alexander Yerenkow,
Generalissimo of UCT
------------------------------------------------------------------------------
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