Re: [qooxdoo-devel] Help with mobile forms

2015-06-06 Thread SQville
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 {

Re: [qooxdoo-devel] Help with mobile forms

2015-06-04 Thread jorgearr
I implemented the code but if failed at rendering time. I could also solve the problem if I could add input fields to a row in a group or to a composite with layout provided that I can get a data model from the group or composite in the same way I get with qx.data.controller.Form because that is w

Re: [qooxdoo-devel] Help with mobile forms

2015-06-02 Thread SQville
Jorge First create a custom Form Renderer by copying qx.ui.mobile.form.renderer.Single (Single.js) and creating your own (i.e. appname.form.renderer.JorgeFormRenderer) to add to your project. In your new form renderer add "qx.ui.mobile.container.Composite" to ONE_LINE_WIDGETS static array. Now s