View Full Version : Window Names Question

5 May 2010, 9:21 AM
I'm a big fan of the designer, saves me a lot of time. I do find one aspect annoying and was wondering if this is a bug or I am doing something wrong.

For my design, I'm using a Window Container as the top parent of the component. I give it a name, but it always exports the parent window as MyWindowUi no matter what name I actually give the component itself. It is a minor inconvenience, but would be nice if the name was properly exported like all other components.

MyWindowUi = Ext.extend(Ext.Window, {
title: 'New User',
width: 449,
height: 538,
resizable: false,
I want the MyWindowUi to use the name I create.


5 May 2010, 11:52 AM
Dean -

Check out the jsClass configuration. You will be generating two files, one which is a .ui.js file and has the Ui suffix and another .js file which is an extension of the Ui file. You should be placing all of your implementation in the plain .js file.

6 May 2010, 7:03 AM

Awesome, I didn't see the jsClass attribute before. Thanks for pointing that out, works perfectly.