A current project consists of an ASP.Net MVC application which “renders” its current version as an html-meta tag.
<meta name="x-app-version" content="1.1.427.1616" />
A requirement was to show this version (which is rendered server-side) on the login screen (which is a viewport containing panels and such).
The following code does a selection (via css-selector) of the concrete element and reads its attribute “content” and uses it as a value for a
// ... further controller code me.down('theDisplayField').setValue( Ext.dom.Element .select("meta[name='x-app-version']") .first() .getAttribute('content') );
I presume that the meta-tag exists therefore no check of the return-value of the select-method is done.