PDA

View Full Version : Can not view the component (xds_index.html)



Suwipat
22 Sep 2010, 12:39 AM
Hi there,

I'm trying to create a simple page as following code



MyForm6Ui = Ext.extend(Ext.form.FormPanel, {
title: 'Title',
width: 800,
height: 594,
labelAlign: 'top',
initComponent: function() {
this.items = [
{
xtype: 'spacer',
height: 60,
html: '',
width: 800
},
{
xtype: 'container',
width: 800,
height: 600,
layout: 'column',
items: [
{
xtype: 'spacer',
height: 600,
width: 40,
html: ''
},
{
xtype: 'tabpanel',
activeTab: 0,
width: 600,
height: 600,
title: 'Tab Menu',
autoDestroy: false,
items: [
{
xtype: 'panel',
title: 'Company Profile',
height: 566,
tpl: '',
activeItem: 0,
headerAsText: false,
items: [
{
xtype: 'fieldset',
title: 'User Info',
width: 596,
height: 75,
layout: 'table',
items: [
{
xtype: 'container',
width: 246,
height: 40,
layout: 'anchor',
region: 'center',
activeItem: 0,
items: [
{
xtype: 'displayfield',
value: 'User Id.: 10009 ',
anchor: '100%',
name: 'User ID',
region: 'center',
style: 'font-family: Arial; font-size: 12px',
flex: 1
},
{
xtype: 'displayfield',
value: 'Role.: Support',
anchor: '100%',
name: 'Role',
region: 'west',
width: 151,
style: 'font-family: Arial; font-size: 12px'
}
]
},
{
xtype: 'container',
width: 250,
height: 29,
layout: 'anchor',
region: 'center',
activeItem: 0,
items: [
{
xtype: 'displayfield',
value: 'User Name.: Test User',
name: 'User Name',
style: 'font-family: Arial; font-size: 12px',
width: 236
}
]
}
]
},
{
xtype: 'fieldset',
title: 'Display Result',
width: 592,
height: 308,
items: [
{
xtype: 'grid',
title: 'My Grid',
width: 560,
height: 209,
columns: [
{
xtype: 'gridcolumn',
dataIndex: 'string',
header: 'Column',
sortable: true,
width: 100
},
{
xtype: 'numbercolumn',
dataIndex: 'number',
header: 'Column',
sortable: true,
width: 100,
align: 'right'
},
{
xtype: 'datecolumn',
dataIndex: 'date',
header: 'Column',
sortable: true,
width: 100
},
{
xtype: 'booleancolumn',
dataIndex: 'bool',
header: 'Column',
sortable: true,
width: 100
}
]
}
]
}
]
},
{
xtype: 'panel',
title: 'Outstanding Bill'
},
{
xtype: 'panel',
title: 'Account Info'
}
]
},
{
xtype: 'spacer',
height: 600,
width: 75,
html: ''
}
]
}
];
MyForm6Ui.superclass.initComponent.call(this);
}
});

When I tried on preview button,It can be displayed the page correctly. But When I tried to view the page by xds_index.html by IE8, The javascript error occurred as attached pictures.


:( suggestions and helps please

Thank you

Suwipat

Suwipat
23 Sep 2010, 6:22 PM
any comments please...

jarrednicholls
24 Sep 2010, 4:08 AM
Hi Suwipat,

I am investigating this issue for you and will get back to you soon.

Thanks,
Jarred

Suwipat
24 Sep 2010, 5:35 AM
Hi Suwipat,

I am investigating this issue for you and will get back to you soon.

Thanks,
Jarred


Thanks Jarred