[TYPO3-english] ExtJS question about resizing components

Dmitry Dulepov dmitry.dulepov at gmail.com
Wed Mar 30 11:37:23 CEST 2011


Hi!

François Suter wrote:
> I guess my case is exactly one where getCmp() is my only hope. The whole
> form is built in HTML (using a Fluid template) and ExtJS actions are
> applied to it afterwards. I suppose this is not the right way to do an
> ExtJS application, but it' what matched my current skills with Extbase,
> Fluid and ExtJS :-)


Ext.ns('yournamespace');

yournamespace.tabPanel = undefined;

...

Ext.onReady(function() {

	yournamespace.tabPanel = new Ext.TabPanel({
	});

	...

	// Use yournamespace.tabPanel to access your tab panel.
});

-- 
Dmitry Dulepov
TYPO3 core&security team member
E-mail: dmitry.dulepov at typo3.org
Web: http://dmitry-dulepov.com/


More information about the TYPO3-english mailing list