Good all the time of day!
I learn more qooxdoo, faced with another task: I do not know how to release. I am taking data from the server geonames.org and it is necessary that the request leave the page in life mode - that is, if I type from the keyboard, the new zip code value automatically changes to the city value.
My code is:
var plzTextfield = new qx.ui.form.TextField(); // создаю форму plzTextfield.setLiveUpdate(true); // указываю, что разрешено менять life var postalcode = plzTextfield.getValue(); //забираю данные var url = "http://ws.geonames.org/postalCodeSearch"+"JSON?username=***&output=jsonp&country=DE&postalcode="+postalcode; // отправляю данные
Unfortunately not working. In the response from the server, postalcode=null
where do I need to specify something, to register something?
In JavaScript, this function can be specified as follows:
var url = "http://ws.geonames.org/postalCodeSearch"+"JSON?username=***&output=jsonp&country=DE&postalcode="+escape(postalcode.value);
- but qooxdoo could not find an analogue.
I hope there are qooxdoo lovers who have already encountered such a situation.