Many many thanks !
It works fine, and perhaps it's one of the basic tips missing in the doc...
Here is a summary :
===================
How to insert widgets in place inside an existing HTML page ?
In the HTML code :
-to activate the scollbars some settings in the html page must be set
before loading the application
-a div container must be inserted inside the html page
<head>
<script type="text/javascript">
qxsettings = new Object();
qxsettings["qx.enableApplicationLayout"] = false;
</script>
<script type="text/javascript"
src="script/my.example.ns.Application.js"></script>
</head>
<body>
<div>Some content...</div>
<div id="myInlineWidget"></div>
<div>Some other content...</div>
</body>
In the class my.example.ns.Application :
// example with a button to put inline
var someWidget = new qx.ui.form.Button("My Button",
"custom/image/test.png");
var doc = qx.ui.core.ClientDocument.getInstance();
var inlineWidget = new qx.ui.basic.Inline("myInlineWidget");
inlineWidget.add(someWidget);
doc.add(inlineWidget);
--
Cordialement,
///
(. .)
--------ooO--(_)--Ooo--------
| Philippe Poulard |
-----------------------------
http://reflex.gforge.inria.fr/
Have the RefleX !
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel