Book Image

Mastering ExtJS - Second Edition

By : Loiane Avancini
Book Image

Mastering ExtJS - Second Edition

By: Loiane Avancini

Overview of this book

Table of Contents (19 chapters)
Mastering Ext JS Second Edition
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 4. The Logout and Multilingual Capabilities

In this chapter, we are going to implement the multilingual capability of the system. This feature will allow the system to display the translation of the labels according to the language selected by the user (using some HTML5 features as well).

We will also learn how to implement the logout capability so that the user can end the session, and also for security reasons, we will learn how to implement a session timeout warning for the user, in the case of inactivity (not using the mouse or keyboard for a while).

Also, after the user is authenticated, we need to display the application. In this chapter, we will learn how to implement the base of the application.

So, in this chapter, we will cover:

  • The base of the application

  • The logout capability

  • Activity monitoring and session timeout warnings

  • Structuring the application to receive the multilingual capability

  • Creating the change language component

  • Handling the change language component at runtime...