Hear is my example.html
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Custom Application</title>
<script type="text/javascript" src="component.js"></script>
<script type="text/javascript" src="script/custom.js"></script>
<body>
<script type="text/javascript">
qx.core.Init.getInstance().defineMain(function()
{
var d = qx.ui.core.ClientDocument.getInstance();
function textChange(e) {
this.debug("Text changed: " + e.getData());
}
var t1 = new qx.ui.form.TextField;
t1.setValue("textfield");
t1.setTop(48);
t1.setLeft(20);
t1.addEventListener("changeValue", textChange);
t1.addEventListener("input", function(e) {
this.debug("Input: " + e.getData());
});
d.add(t1);
// test no1
var nl1 = new qx.ui.basic.Atom("Test #1", "icon/16/actions/view-
refresh.png", 16, 16);
nl1.setTop(48);
nl1.setLeft(20);
nl1.setBorder(qx.renderer.border.BorderPresets.getInstance().black);
nl1.setBackgroundColor(new qx.renderer.color.Color("white"));
nl1.setPadding(4);
d.add(nl1);
var btn4 = new qx.ui.form.Button("Button No #4", "icon/16/actions/go-
next.png");
with(btn4)
{
setTop(448);
setLeft(320);
};
d.add(btn4);
});
</script>
</body>
</html>
build doesn't works!!! :(
regards
2007/6/1, ruben gonzalvez <[EMAIL PROTECTED]>:
Hi Alex,
yes I've tested copy the sample.js to my srcipt folder and rename and
include inside the examples.html, but doesn't works.
my version is 0.6.6.
thanks
2007/6/1, Alex Back <[EMAIL PROTECTED]>:
>
> Hi Ruben,
>
> ruben gonzalvez wrote:
> > Hi all,
> >
> > I'm testing examples from
> http://demo.qooxdoo.org/current/sample/html/test.
> >
> > I copy script code from test to my examples.html in local (source
> > directory).
> >
> > I do a make source and works, but when I do a make build and try to
> run
> > examples.html I'cant view anything, only appears console debug.
> What kind of errors are displayed?
>
> > What's wrong?
> The generated script files of the source and the build version are
> stored in
> different folders. Did you change your script include in your HTML file
> accordingly?
>
> cheers,
> Alex
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel