Hi Christian, I did take a look at your code but could not find the place where you use the bindValue method. So I could not see where the problem is and why the reset is called.
I have to admit that I don't get completely why you need to do it the way you do it. What is targetObject and what is the targetPath? Best, Martin Am 19.06.2009 um 10:01 schrieb panyasan: > > > Hello Martin, > > Martin Wittemann wrote: >> >> Hi Christian, >> first of all, this looks like a real bug! Thanks for reporting it. >> Could you please supply some example data so that I can reproduce it? >> > > I am using it with the qcl.config.Manager singleton, see > > https://qooxdoo-contrib.svn.sf.net/svnroot/qooxdoo-contrib/trunk/qooxdoo-contrib/qcl/trunk/frontend/source/class/qcl/config/Manager.js > > and, specifically, in the bindValue() method. > > > Martin Wittemann wrote: >> >> But I guess thats not the real problem. I can see that you try to >> keep >> two arrays in sync. The question is why? Why do you need to have two >> arrays and not only one? You could easily copy the reference and >> don't >> care about keeping the arrays in sync. :) >> > > No, what I am trying to do is to bind the property of a generic > qooxdoo > object to a config value, so the property is updated when the cofig > value > canges, and vice versa. For performance reasons, the config value > keys and > values are kept in different qx.data.Array structures in one data > model, > which is synchronized between client and server. Do you see what I > am trying > to achieve? > > Thanks, > > Christian > -- > View this message in context: > http://www.nabble.com/Databinding%3A-TypeError%3A-target-%22reset%22-%2B-qx.lang.String.firstUp%28lastProperty%29--is-not-a-function-tp24099676p24107094.html > Sent from the qooxdoo-devel mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
