Hi,
you can create a new mobile root widget for any DOM element in your
embed.Html and attach widgets to it:
var embed = new qx.ui.mobile.embed.Html('<div id="root"/>');
embed.addListenerOnce("appear", function() {
var root = new qx.ui.mobile.core.Root(document.getElementById("root"));
root.add(new qx.ui.mobile.form.Button("Hello World"));
});
Regards,
Daniel
On 08.05.2013 12:01, Alexander Voronin wrote:
> Perhaps I did not make it clear. I need to add qxoodoo widget into html
> content inside qx.ui.mobile.embed.Html container.
>
>
> 2013/5/8 Christopher Zündorf <[email protected]
> <mailto:[email protected]>>
>
>
> You could use "getContentElement()", then you have the native
> element in your hand. You could use the innerHTML of the element,
> and append it to you qx.ui.mobile.embed.Html.
>
> But I would propose to create a custom qx.Mobile widget for your
> purpose.
>
> Greetz Christopher
>
> Am 07.05.2013 um 12:15 schrieb Alexander Voronin:
>
> > Hi, list!
> >
> > Is there a way to add qooxdoo mobile widget into html content of
> container qx.ui.mobile.embed.Html container? The html content is
> known and I'd like to "attach" and use qooxdoo widgets inside
> content of this container.
> >
> > Thanks in advance.
> >
> > --
> > когда я опустился на самое дно, снизу мне постучали..
> >
>
> ------------------------------------------------------------------------------
> > 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]
> <mailto:[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]
> <mailto:[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
>
------------------------------------------------------------------------------
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