hschaefer123
24 Apr 2012, 4:44 AM
If a want to attach a 'initialize' event to a panel this works quite well by adding
listeners: [
{
fn: 'onContainerInitialize',
event: 'initialize'
}
]
now i want to give my panel an id the code is changed to
listeners: [
{
fn: 'onContainerInitialize',
event: 'initialize',
delegate: '#home'
}
]
but after using an id (itemId does not work too) the initial event is not fired!
Removing id removes delegate to work on again.
I am using SDK 2.0.1-rc
Is this a bug in SDK or inside Architect?
I also want to set scope: this config but scope is not available?!?
Trying to add scope with "ADD" button crashes Architect!
Cheers Holger
listeners: [
{
fn: 'onContainerInitialize',
event: 'initialize'
}
]
now i want to give my panel an id the code is changed to
listeners: [
{
fn: 'onContainerInitialize',
event: 'initialize',
delegate: '#home'
}
]
but after using an id (itemId does not work too) the initial event is not fired!
Removing id removes delegate to work on again.
I am using SDK 2.0.1-rc
Is this a bug in SDK or inside Architect?
I also want to set scope: this config but scope is not available?!?
Trying to add scope with "ADD" button crashes Architect!
Cheers Holger