Hi, I did "make source" followed by "make", but the problem still persisted.
So then I removed the code I initially inserted into "source/index.html", and instead inserted that code into "source/class/custom/Application1.js", did "make source" followed by "make" again, and that fixed the problem. I then cut the added code back out of "source/class/custom/Application1.js" and inserted it into "source/index.html" as it was initially, repeated "make" again, reloaded in browser, and it still worked -- must be because the code for the classes used was already generated by the earlier "make source". It looks like I was having this problem initially because after creating a new project from skeleton 1 I inserted the new code into "source/index.html" rather than "source/class/custom/Application1.js", and also because I did not do "make source", (but even if I did "make source" new classes would not be picked up because they were not used from inside "source/class/custom/Application1.js") So the fix for this problem is to insert new code into the javascript file rather than "source/index.html" and to do "make source" before "make". Hope this is useful if someone gets a similar same problem. I also switched to the current version from SVN as suggested by getting revision 4140 from https://svn.sourceforge.net/svnroot/qooxdoo/trunk/qooxdoo, and it already had the "frontend" directory unlike "qooxdoo-0.6-rc1-source.tar.gz" that I initially downloaded, so I did not have to cut out "frontend" from the Makefile. -- Marat ----- Original Message ----- From: "Sebastian Werner" <[EMAIL PROTECTED]> To: "qooxdoo Development" <[email protected]> Sent: Tuesday, September 05, 2006 6:58 AM Subject: Re: [qooxdoo-devel] Need info regarding how to include the window UI package in the project. > You don't need to modify the Makefile. Maybe the version you use is a > bit buggy. The skeletons are relatively new. You should maybe wait for > the final release or use the current version from SVN instead. > > Generally you must do a "make source" for the source version and a "make > build" for the build version. You don't must to do "make source" with > each change, just if you use new classes, have renamed classes, etc. > "make build" instead must be executed for each change you want to > transfer to the built version. > > Hope this helps. > > Cheers, > > Sebastian > > > Marat BN schrieb: >> Hi, >> >> I need some info regarding how to include the window >> UI package in the >> project. >> >> I downloaded package "qooxdoo-0.6-rc1-source.tar.gz", >> and created a new >> project from "skeleton/source/sample1". >> >> (Modified the top-level project Makefile so that the >> QOOXDOO variable >> pointed to the directory to which I unpacked >> "qooxdoo-0.6-rc1-source.tar.gz", and had to cut out >> string "frontend" from >> variables FRAMEWORK and CACHE as directory "frontend" >> did not appear to >> exist. Built project successfully with "make", and >> successfully brought up >> the built page in Firefox. Button "Welcome to >> qooxdoo!" properly appeared >> inside the project page in Firefox.) >> >> I then attempted to modify the sample project code in >> "source/index.html" to >> display a window with the following code: >> >> *** >> <script type="text/javascript"> >> // qx.core.Init.getInstance().setApplication(new >> custom.Application1); >> >> qx.core.Init.getInstance().defineMain(function() >> { >> var d = qx.ui.core.ClientDocument.getInstance(); >> >> var w1 = new qx.ui.window.Window("First Window", >> "icon/16/bell.png"); >> w1.setSpace(20, 400, 48, 250); >> d.add(w1); >> >> w1.open(); >> >> }); >> </script> >> *** >> >> Recompiled the project OK with "make", but upon >> reloading the project in >> Firefox received JavaScript error "qx.ui.window has no >> properties". It >> appears that the web browser did not load the >> Javascript code for objects >> inside package "qx.ui.window" because this package was >> not included or >> compiled in the project. So far I could not find >> instructions in the >> documentation on how to include packages. Do I need >> to modify the Makefile? >> Please advise. >> >> Thanks, >> Marat >> >> >> __________________________________________________ >> Do You Yahoo!? >> Tired of spam? Yahoo! Mail has the best spam protection around >> http://mail.yahoo.com >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> qooxdoo-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
