Hi, 
I'm still getting problems with the SelectBox in V2.1.1. Message: Assertion
error! 'Child' must be an instance of qx.ui.core.LayoutItem!: Expected value
to be instanceof 'qx.ui.core.LayoutItem' but found qx.ui.mobile.dialog.Menu. 
See  example
<http://demo.qooxdoo.org/current/playground/#%7B%22code%22%3A%22var%2520page%2520%253D%2520new%2520qx.ui.mobile.page.NavigationPage()%253B%250Apage.setTitle(%2522Login%2522)%253B%250Apage.addListener(%2522initialize%2522%252C%2520function()%2520%257B%250A%2520%2520var%2520form%2520%253D%2520new%2520qx.ui.mobile.form.Form()%253B%250A%250A%2520%2520%252F%252F%2520gender%250A%2520%2520var%2520gender%2520%253D%2520new%2520qx.ui.mobile.form.SelectBox()%253B%250A%2520%2520form.add(gender%252C%2520%2522Gender%2522)%253B%250A%250A%2520%2520%252F%252F%2520Use%2520form%2520renderer%250A%2520%2520page.getContent().add(new%2520qx.ui.mobile.form.renderer.Single(form))%253B%250A%250A%2520%2520%252F%252F%2520login%2520button%250A%2520%2520var%2520button%2520%253D%2520new%2520qx.ui.mobile.form.Button(%2522Login%2522)%253B%250A%2520%2520page.getContent().add(button)%253B%250A%250A%2520%2520button.addListener(%2522tap%2522%252C%2520function()%2520%257B%250A%2520%2520%2520%2520if%2520(form.validate())%2520%257B%2520%2520%252F%252F%2520use%2520form%2520validation%250A%2520%2520%2520%2520%2520%2520alert(%2522Loggin%2520in%2520%2522%2520%252B%2520user.getValue())%253B%250A%2520%2520%2520%2520%257D%250A%2520%2520%257D%252C%2520this)%253B%250A%257D%252Cthis)%253B%250A%250Athis.getManager().addDetail(page)%253B%250A%250Apage.show()%253B%22%2C%20%22mode%22%3A%22mobile%22%7D>
 
. 

Please let me know how to fix this. 

Regards, 
Niels 



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Mobile-SelectBox-widget-tp7581160p7582743.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

Reply via email to