hotdp
11 Feb 2012, 10:35 AM
When running:
var picker = Ext.create('Ext.Picker', { slots: [
{
name : 'limit_speed',
title: 'Speed',
data : [
{text: '50 KB/s', value: 50},
{text: '100 KB/s', value: 100},
{text: '200 KB/s', value: 200},
{text: '300 KB/s', value: 300}
]
}
]
});
picker.show();
From my Action Controller I get this error:
TypeError: 'null' is not an object (evaluating 'this.getElement().getParent().getPageBox')
What is wrong?
var picker = Ext.create('Ext.Picker', { slots: [
{
name : 'limit_speed',
title: 'Speed',
data : [
{text: '50 KB/s', value: 50},
{text: '100 KB/s', value: 100},
{text: '200 KB/s', value: 200},
{text: '300 KB/s', value: 300}
]
}
]
});
picker.show();
From my Action Controller I get this error:
TypeError: 'null' is not an object (evaluating 'this.getElement().getParent().getPageBox')
What is wrong?