I needed to change form labels on-the-fly, so I extended
qx.ui.mobile.form.renderer.Single and added the following member:
nameItem: function(item, name) {
var siblings = item.getLayoutParent().getChildren();
for (var i = 0, len = siblings.length; i < len; i++) {
if (siblings[i] instanceof qx.ui.mobile.form.Label) {
siblings[i].setValue(name);
break;
}
}
},
I don't guarantee that this is bulletproof but it worked in my case.
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/dynamic-form-labels-in-qx-ui-mobile-form-tp7582801p7582837.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel