1. Identify all the string literals that you want to localize, and mark them using the qooxdoo APIs. We will explain, here, with one of the widgets—UserSignUpForm—as an example, and you can do it yourself, for the rest of the widgets. Update the file
C:\teamtwitter\source\class\teamtwitter\ui\UserSignUpForm.js
, to mark the string that you want to localize, as mentioned in the following code snippet. This code is also available in the978-1-849513-70-8_08_01.txt
file underChapter 8
._initLayout : function() { // setting a grid layout to the composite container this.setLayout(new qx.ui.layout.Grid(5,5)); // creating the required fields with the headings as labels var userNameLab = new qx.ui.basic.Label (this.tr("User Name:")); var userNameField = new qx.ui.form.TextField(); var emailLab = new qx.ui.basic.Label(this.tr("Email:")); var emailField = new qx.ui.form.TextField(); var passwordLab = new qx.ui.basic.Label (this.tr("Password:"...
qooxdoo Beginner's Guide
qooxdoo Beginner's Guide
Overview of this book
Over the past few years, all the major internet or enterprise applications are developed or migrated to Rich Internet Application to support all the features that are provided in the desktop applications. This helps organizations keep the end users happy and also improves application deployment and maintenance. qooxdoo is a stable, open source RIA framework. If you are waiting and watching for the right time to migrate your application to qooxdoo, this is the right time!This book explains in detail about the rich user interface development in qooxdoo. It explains various concepts of qooxdoo framework in an easy to grasp and organized way, making it simple even for a novice in qooxdoo and also increases the competency level of the developer who is already working in qooxdoo.This book helps developers understand the qooxdoo framework, setup the environment, and start the development of RIA using qooxdoo. You will learn the core programming techniques in qooxdoo, user interface development in qooxdoo, testing & debugging qooxdoo applications, internationalization of qooxdoo applications to multiple languages, customizing the look and feel of qooxdoo applications using Themes, Performance management, etc.In the course of the book, we develop a complete application which will help the developer to understand the concepts better and to put things together to see the step-by-step progress to complete an application. By the end, this book will get the developer accustomed to the widgets and API available in the qooxdoo framework, and will enable him to design, develop, debug, and test the RIA in qooxdoo.
Table of Contents (19 chapters)
qooxdoo
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
What is qooxdoo?
Say Hello to the qooxdoo World!
Core Programming Concepts
Working with Layouts and Menus
Working with Widgets
Working with Forms and Data
Testing and Debugging
Internationalization
Working with Themes
Performance
Miscellaneous
Pop Quiz Answers
References
Customer Reviews