What I want to achieve is to render a modal which contains inputs fields. This should be rendered inside the application template (using outlet) as a popup over the whole page.
The Modal is built with two components just like foo and bar. BaseModal (which is Foo) and LoginModalContent (which is Bar) are better names.
On click on OK (which is defined in BaseModal, because the button in in BaseMobal), I want to call the OK action of LoginModalContent to be able to get the values of the forms using e.g. this.get('username').
This seams to only work when BaseModal know the instance of LoginModalContent that’s why I’m trying to pass it using innerComponent=this.