It looks like the answer to this question is no but I wanted to ask to try and be sure. From what I can see in the source code, a view only has one referenceHolder (typically itself or a view controller), and it doesn't look like trying to force an array or something into inheritedConfig.referenceHolder would be handled correctly.
Just for background, I'm working on the new version of Deft JS. We were about to add a new feature before Ext 5 was released that would allow a view controller to have multiple associated view controllers attached to it (which we called "companions"). The idea was to allow common or cross-cutting logic to be shared across view controllers while maintaining encapsulation (to avoid method name conflicts, etc. that can arise with, say, mixins). But given the way Ext 5 locates declarative event handlers, I don't think this will work, since handlers in the companion VCs won't be triggered.
Assuming that makes sense, any thoughts or advice from the Ext folks (Evan)?
Thanks,
Brian
Aucun commentaire:
Enregistrer un commentaire