Here's example code to make the rendering work: this.__form = this.__createForm(); var deviceType = qx.core.Environment.get("device.type"); if (deviceType == "mobile") { this.getContent().add(new rapp.component.MobileRenderer(this.__form)); } else { this.getContent().add(new qx.ui.mobile.form.renderer.Single(this.__form)); }
Getting model code out of a composite is a little more code intensive than just setting page level variables for each control but it's your deliverable timeline and not mine :-) I still highly recommend you use a new renderer, that way you can control where your label goes (top - VBox, or in the same row - HBox) simply and easily while maintaining "upgradeability" of your code. If you look at the Form code it only allows one input control per row. Your approach (composite with multiple inputs) is the best way to go. Good luck! Chris -- View this message in context: http://qooxdoo.678.n2.nabble.com/Help-with-mobile-forms-tp7587200p7587210.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel