Hi,
you can not insert a qx.ui.form.DateField into qx.Mobile Form.
Just insert a text field and try alter the value with a qx.Mobile Picker.
Greetz Christopher
Am 08.05.2013 um 06:26 schrieb jenia:
> hello everyone.
>
> Can someone please tell me how to add a DateField to a mobile Dialog or to a
> mobile Form.
> Or, frankly, to any other mobile ui class.
> I've tried to add a DateField to a mobile.form.Form and
> mobile.dialog.Dialog with zero success.
>
>
> Ive tried the following so far:
>
> 1) In the MobileShowCase Form.js file I did this:
>
> qx.Class.define("mobileshowcase.page.Form",
> {
> extend : qx.ui.mobile.page.NavigationPage,
>
> __createForm: function()
> {
> ...
> var form = new qx.ui.mobile.form.Form();
> form.add(new qx.ui.form.DateField());
> ...
> }
>
> The result is that the form is not renders.
>
>
> 2) In the MobileShowCase Form.js file I did this:
>
> qx.Class.define("mobileshowcase.page.Form",
> {
> extend : qx.ui.mobile.page.NavigationPage,
>
> _initialize:function()
> {
> ....
> this.getContent().add(new qx.ui.form.DateField());
> ....
> }
>
> The result is that the form is not renders.
>
>
> 3) In a file I called MyDialog that I copied (and simplified) from
> MobileShowCase Dialog.js I did this:
>
> qx.Class.define("mobileshowcase.page.Form",
> {
> extend : qx.ui.mobile.page.NavigationPage,
>
> _initialize : function()
> {
> ...
> this.__modaldialogpopup= new qx.ui.mobile.dialog.Dialog(new
> qx.ui.form.DateField());
> ...
> }
>
> The result is that the Dialog does not appear. Not even the button to launch
> the dialog.
>
> Thanks in advance.
>
>
>
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/How-to-add-a-DateField-to-a-mobile-form-Form-or-mobile-dialog-Dialog-tp7583494.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel