Hello, thanx for the little tutorial about setting up a low-level application. How can i adding widgets to use in the example index.html? When i implement a "new qx.ui.control.DateChooser" command for testing, the script crashed.
Mit freundlichen Grüßen Günther Bauer Alexander Back schrieb: > Hi Günther, > > Günther Bauer wrote: > >> This thing with the configuration settings to load the js files >> "on-demand" is interesting. >> > Currently this feature is available but there'll is still some work to > do. We already have a bug report for it you can follow if you like. > -> http://bugzilla.qooxdoo.org/show_bug.cgi?id=562 > > >> OK, i understand to use the qooxdoo framework without create >> applications is very complicated. >> The alternative with the single js file without combining a application >> is interesting to know. >> > I've just finished a little tutorial about setting up a low-level > application. This does not fit completely for your case, but you can > take a look at the "config.json" to get to know how this is technically > done. > > -> http://qooxdoo.org/documentation/0.8/setup_a_low-level_application > > >> I would like to use the qooxdoo framework to improve the handling for >> users and administrators and all other peoples on the City-Tiger portal. >> The most html files are existing and i will replace several parts in >> this html files with widgets from the qooxdoo framework (with the Inline >> Mode). >> > That's sounds great :) It would be great if you could share your > experiences with us. > > > cheers, > Alex > > >> Alexander Back schrieb: >> >>> Hi Günther, >>> >>> Günther Bauer wrote: >>> >>> >>>> I have yet two another questions: >>>> It is possible to create several packages (.js files) where easy to include >>>> in the html files to use the qooxdoo framework? >>>> >>>> >>> Yes, of course. The cool thing is that the tool-chain is doing the >>> heavy-lifting for you. You only have to setup a proper configuration >>> file ("config.json") and let the generator do his work. >>> How to modify your configuration file is explained here >>> -> http://qooxdoo.org/documentation/0.8/generator_config_ref#packages >>> and here >>> -> >>> http://qooxdoo.org/documentation/0.8/generator_config_articles#packages_key >>> >>> This is the configuration part. Additionally you have to make sure that >>> the packages are loaded when they are needed ("on-demand"). Think of an >>> application which offers a complex dialog. This dialog is seperated into >>> an own package and this package has to be loaded on-demand when the user >>> want to see this dialog for the first time. qooxdoo already offers this >>> mechanism through the "qx.core.Package" class, documentation in the wiki >>> will follow-up soon. >>> >>> >>> >>>> It is possible to use the qooxdoo framework without creating a >>>> application .js file with the "create-application.py" python script? >>>> >>>> >>> The common way is to generate such a javascript file automatically >>> because adding each script per "script" tag won't be a solution on the >>> long run. The biggest two problems are: >>> >>> * you'll have to resolve the dependencies manually >>> * you'll have to load the classes in the right order >>> >>> And you have repeat these steps with every new class you use/create. >>> >>> But it is also possible to create a single JS file which includes all >>> needed qooxdoo classes without combining your application files. This is >>> especially interesting when you only have a single JS file where your >>> code resides. >>> >>> Could you post some infos in which way you like to use qooxdoo? >>> >>> cheers, >>> Alex >>> >>> >>> >>> >>>> Alexander Back schrieb: >>>> >>>> >>>>> Hi Günther, >>>>> >>>>> Günther wrote: >>>>> >>>>> >>>>> >>>>>> Alexander Back wrote: >>>>>> >>>>>> >>>>>> >>>>>>>> Do you already read the "Hello World" starters tutorial? This will >>>>>>>> offer >>>>>>>> you how to setup your application and the framework properly. >>>>>>>> -> http://qooxdoo.org/documentation/0.8/helloworld >>>>>>>> >>>>>>>> >>>>>>>> >>>>>> Yes, i have read the "hello world" starter tutorial. >>>>>> The generated project in the "hello world" starter tutorial working >>>>>> correctly. >>>>>> >>>>>> >>>>>> >>>>> Good to read this :) >>>>> >>>>> >>>>> >>>>> >>>>>> Alexander Back wrote: >>>>>> >>>>>> >>>>>> >>>>>>>> This tutorial is about creating GUI applications, qooxdoo is however >>>>>>>> also ready for embedding in existing HTML pages. Instead of creating a >>>>>>>> "Standalone" application you can create a so-called "Inline" >>>>>>>> application >>>>>>>> to embed qooxdoo widgets inside your HTML page. >>>>>>>> See http://qooxdoo.org/documentation/0.8/ui_inline for more details. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>> When i change the qx.application.Standalone parameter in >>>>>> qx.application.Inline at the Application.js, i became a error: "Invalid >>>>>> key >>>>>> "extend" in class "custom.Application"! The value is undefined/null!" >>>>>> >>>>>> >>>>>> >>>>> If you change your application in the way that you add new classes you >>>>> have to run "./generate source" again. The javascript file you are >>>>> including in your HTML file loads every *needed* classes (the tool-chain >>>>> resolves the dependency automatically). So if you add a new class you >>>>> have to resolve these dependencies again. >>>>> >>>>> >>>>> >>>>> >>>>>> Alexander Back wrote: >>>>>> >>>>>> >>>>>> >>>>>>>> P.S. nice to see that someone at my location is getting in touch with >>>>>>>> qooxdoo ;-) >>>>>>>> >>>>>>>> >>>>>>>> >>>>>> P. S. Nice, where are you coming from? >>>>>> >>>>>> >>>>>> >>>>> Directly from Landau. >>>>> >>>>> cheers, >>>>> Alex >>>>> >>>>> >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >>> Build the coolest Linux based applications with Moblin SDK & win great >>> prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> qooxdoo-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>> >>> >>> >>> > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
