O'Reilly logo

Liferay 6.2 User Interface Development by Jonas X. Yuan, Xinsheng Chen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Understanding Ext JS

Ext JS is a JavaScript framework for building interactive web application UIs. Ext JS supports all major web browsers. The website of Ext JS is http://www.sencha.com/.

Ext JS has an Ext.Element JavaScript class which encapsulates a Document Object Model (DOM) element. This class also has DOM manipulation functionalities. It has been implemented for browser normalization too. For example, the var el = Ext.get('<portlet:namespace />area') statement finds the following DOM element by ID in the page and assigns it to the el element:

<div id="<portlet:namespace />area">This will be updated ...</div>

The el variable is an Ext.Element class object. You can manipulate this el element using the following methods, which are defined in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required