Ok, I didn't read the manual and forgot the 'generate.py build' step. Now
all is well.
-deech
On Sun, Jun 14, 2009 at 8:48 PM, aditya siram <[email protected]>wrote:
> Hi all,
> I have a simple script [1] that is taking a long time (approx. 7 seconds
> according to Firebug) to load. I think its my script and not my web-server
> because a local version of the Qooxdoo API Viewer, a much more complicated
> script, loads twice as fast. The only difference I can think of is that my
> script seems to be transferring a large amount of information (possibly the
> entire library) to the client causing the slowdown.
>
> thanks ...
> deech
>
> [1]
>
> /* ************************************************************************
>
> #asset(library/*)
>
> ************************************************************************ */
>
> /**
> * This is the main application class of your custom application "Library"
> */
> qx.Class.define("library.Application",
> {
> extend : qx.application.Standalone,
>
> /*
>
> *****************************************************************************
> MEMBERS
>
> *****************************************************************************
> */
>
> members :
> {
> /**
> * This method contains the initial application code and gets called
> * during startup of the application
> */
> main : function()
> {
> // Call super class
> this.base(arguments);
>
> // container
> var container = new qx.ui.container.Composite(new qx.ui.layout.Grid(8,
> 8));
> this.getRoot().add(container, {top: 20, left: 20});
>
> // text field
> var isbn = new qx.ui.form.TextField("ISBN");
> container.add(new qx.ui.basic.Label("ISBN:"), {row: 0, column: 0});
>
> var title = new qx.ui.form.TextField("Title");
> container.add(new qx.ui.basic.Label("Title:"), {row: 1, column: 0});
>
> var author = new qx.ui.form.TextField("Author");
> container.add(new qx.ui.basic.Label("Author:"), {row: 2, column: 0});
>
> var dd = new qx.ui.form.TextField("DD");
> container.add(new qx.ui.basic.Label("DD:"), {row: 3, column: 0});
>
> var desc = new qx.ui.form.TextField("Desc");
> container.add(new qx.ui.basic.Label("Desc:"), {row: 4, column: 0});
>
> var ed_info = new qx.ui.form.TextField("Edition");
> container.add(new qx.ui.basic.Label("Edition:"), {row: 5, column: 0});
>
>
> // button
> var button = new qx.ui.form.Button("Search");
>
> container.add(isbn, {row: 0, column: 1});
> container.add(title, {row: 1, column: 1});
> container.add(author, {row: 2, column: 1});
> container.add(dd, {row: 3, column: 1});
> container.add(desc, {row: 4, column: 1});
> container.add(ed_info, {row: 5, column: 1});
> container.add(button, {row: 6, column: 0});
> }
> }
> });
>
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel