If I replace the "application" code in the mobile skeletal app with the
following:
var page1 = new qx.ui.mobile.page.NavigationPage();
page1.setTitle("Page 1");
page1.addListener("initialize", function()
{
var form = new qx.ui.mobile.form.Form();
var sbox = new qx.ui.mobile.form.SelectBox().set({required: true});
sbox.setDialogTitle("Which one?");
form.add(sbox, "Which one?");
var model = new qx.data.Array(["only choice"]);
sbox.setModel(model);
page1.getContent().add(new qx.ui.mobile.form.renderer.Single(form));
var btn = new qx.ui.mobile.form.Button("Validate");
btn.addListener("tap", function() {
if (form.validate()) {
alert("All OK");
}
}, this);
page1.getContent().add(btn);
}, this);
var manager = new qx.ui.mobile.page.Manager(false);
manager.addDetail([page1]);
page1.show();
I notice that the first time I click on the Validate button I get the error
"TypeError: this.removeState is not a function", but any subsequent clicks
work fine -- i.e. the alert displays.
I have tried this in Firefox 14.0.1 on Linux; Firefox Beta 15.0 on a
Toshiba Thrive (Android version 4.0.4) and an iPad (version 5.1.1). Any
ideas? Thanks.
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/Testing-qx-ui-mobile-on-tablet-vs-desktop-tp7581027.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel