View Full Version : Calling subapp on a popup window on click of button in main app

15 May 2016, 9:17 PM
Hi All,

We are trying to call a sub app from the main extjs app on a popup window. while we are able to open the sub app on the new tab of browser, we need suggestions on how can the same be done on the popup window instead of the new tab.

please suggest.

16 May 2016, 3:12 AM
You can have a form panel inside the window and call the load() on that form panel with the index.html url of the sub app:



Y (http://docs.sencha.com/extjs/4.2.0/#!/api/Ext.form.Basic-method-doAction)ou could also just have a panel inside the window and use it's loader config:


Note: sub app needs to be in the same domain otherwise browser will block it.