jeanluca
15 Oct 2012, 12:07 AM
Hi
In one of my controllers I'm listening for a tap event on one of my components.
refs: {
mycomp: 'mycomp'
},
control: {
mycomp: {
tap: 'onMyCompTap'
}
}
However, this component is not used at the beginning, but at some point dynamically created and added to a panel. Does this controller mechanism work in this case or should I do the event binding myself ?
Cheers
UPDATE: solved it, it was a problem with my component :(
In one of my controllers I'm listening for a tap event on one of my components.
refs: {
mycomp: 'mycomp'
},
control: {
mycomp: {
tap: 'onMyCompTap'
}
}
However, this component is not used at the beginning, but at some point dynamically created and added to a panel. Does this controller mechanism work in this case or should I do the event binding myself ?
Cheers
UPDATE: solved it, it was a problem with my component :(