PDA

View Full Version : [CLOSED]Ext.Application broke (bug in Viewport)



gevik
17 Feb 2011, 2:06 AM
When running the provided example I get a TypeError from Ext.Application
I think the Viewport is missing the init method (static?)

TypeError: Ext.Viewport.init is not a function



new Ext.Application({
name: 'MyApp',

launch: function() {
this.viewport = new Ext.Panel({
fullscreen: true,

id : 'mainPanel',
layout: 'card',
items : [
{
html: 'Welcome to My App!'
}
]
});
}
});

FoxMulder900
30 Mar 2011, 1:35 PM
Just curious as to why this is marked as closed? the issue still seems to exist as of Beta 1 released today.

azuroff
31 Mar 2011, 4:17 PM
Definitely still an issue as of beta 1 - I'm looking at that exact error message right now.

olakara
11 Apr 2011, 2:40 AM
I am using beta 2 and it seems the issue is still not resolved! Does anybody know how to use the Ext.Application effectively?

steffenk
11 Apr 2011, 2:44 AM
from what i heard this will be solved with beta3, as Ext.Application is part of the MVC package.

tobiu
11 Apr 2011, 2:47 PM
i ran into this one too with beta2.



autoInitViewport: false


helps to prevent the bug, but the app won't launch yet.


best regards
tobiu