View Full Version : [SOLVED] Viewport problem after update to 3.1.1 in Adobe Air

9 Feb 2010, 11:05 AM
Hi guys,

I just updated from 3.1.0 to 3.1.1.
When starting my project the first time, two errors came up and the layout of my program isn't like before... The Tabs are shown on the top of the menu and the statusbar isn't showing. Also the "content-area" of the tabs doesn't show up.

new Ext.Viewport({
layout: 'border',
items: [content, tabs, statusbar]

var content = new Ext.Panel({
region: 'north',
height: 108,
border: false,
collapsible: true,
hideCollapseTool: true,
title: 'title',
id: 'interfacepanel',
tools: [{
id: 'close',
qtip: 'Close',
handler: logout
tbar: [/* buttongroup menu buttons */]

var tabs = new Ext.TabPanel({
region: 'center',
activeTab: 0,
border: false,
enableTabScroll: true,
defaults: {
layout: 'fit'
items: [{
title: 'Start',
id: 'Start',
autoScroll: true,
html: getStartPage()

var statusbar = new Ext.ux.StatusBar({
region: 'south',
height: 26,
id: 'statusbar',
busyText : 'Loading...',
defaultText: 'Ready',
defaultIconCls: 'x-status-valid',
items: ['ExtJS']

Here are the errors:

TypeError: Result of expression 'Ext.DomQuery.isXml' [undefined] is not a function.
TypeError: Result of expression 'this.statusEl' [undefined] is not an object.

The second error appears, because the statusbar isn't available. The first error begins when creating the viewport.

Thanks for any help :(

9 Feb 2010, 11:31 AM
Could you please host a test case with that scenario?

10 Feb 2010, 2:53 AM
Hi, I attached a Aptana-project. Seems like the error only appears when using Adobe Air. I removed all the air-specific stuff and opened it in firefox: no problems.

Hope you can help me :)

10 Feb 2010, 3:18 AM
Hi guys,

I could fix this bug using the Ext.DomQuery function from the ext-air-adapter.js file from Makana. It can be found here: http://www.extjs.com/forum/showthread.php?t=91695

28 Feb 2010, 8:06 AM
I am experiencing the same issues... Should I wait for an official fix?