The reason that your does not work is because the qx.html and qx.bom packages 
are very low level abstraction, whereas the qx.ui is much higher; typically you 
should would want to work with the qx.ui.* classes and ignore qx.bom and 
qx.html.

For learning how to use Qooxdoo widget my personal favourite is 
http://demo.qooxdoo.org/devel/demobrowser/#

Qooxdoo does not come with a file upload widget, but there are a couple of 
contribs which add this functionality - I prefer UploadMgr (I wrote it) and it 
includes nice features like multiple uploads, with feedback etc

Manual page on using contribs: 
http://manual.qooxdoo.org/devel/pages/development/contrib.html
UploadMgr demo app: 
http://demo.qooxdoo.org/contrib/demobrowser/demo/UploadMgr/trunk/default/2.1.1/index.html
Demo source code: 
http://svn.code.sf.net/p/qooxdoo-contrib/code/trunk/qooxdoo-contrib/UploadMgr/trunk/demo/default/source/class/uploadmgr/demo/Application.js

John

On 25/08/2015 16:53, "jreinaleon" <jreinal...@gmail.com> wrote:

      var root = new qx.html.Root();
      var file = new qx.html.Input("file");
      root.useElement(file);

Nothing happens

/      var file = new qx.html.Input("file");
      this.getRoot().add(file);/

or 

/      var file = qx.bom.Input.create("file");
      this.getRoot().add(file);/

or

/      var win = new qx.ui.window.Window();
      win.open();
      var file = qx.bom.Input.create("file");
      this.getRoot().add(win);
      win.add(file);/

I get this error: fL.getLayoutParent is not a function

I tried for hours but get no result.

I need a truth example for a standalone application, sorry, not for a native
application






--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Example-for-qx-bom-input-or-qx-html-Input-tp7587502p7587510.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


------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to