Results 1 to 2 of 2

Thread: Calling subapp on a popup window on click of button in main app

  1. #1

    Default Calling subapp on a popup window on click of button in main app

    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.

  2. #2
    Sencha User jdkhamba's Avatar
    Join Date
    Jul 2012
    Posts
    236
    Answers
    45

    Default

    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:

    http://docs.sencha.com/extjs/4.2.0/#...el-method-load

    http://docs.sencha.com/extjs/4.2.0/#!/api/Ext.form.Basic-method-doAction

    Y
    ou could also just have a panel inside the window and use it's loader config:

    http://docs.sencha.com/extjs/4.2.0/#...nel-cfg-loader

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

Similar Threads

  1. Replies: 2
    Last Post: 2 Jan 2015, 1:21 PM
  2. Popup window going outside of main window on resize.
    By chetan.nellekeri in forum Ext: Q&A
    Replies: 5
    Last Post: 16 May 2014, 5:05 AM
  3. Replies: 5
    Last Post: 24 Oct 2012, 5:39 AM
  4. Replies: 2
    Last Post: 2 May 2012, 10:08 AM
  5. HtmlEditor Popup modal window displayed behind main window
    By vizcano in forum Ext 3.x: Help & Discussion
    Replies: 6
    Last Post: 31 Oct 2009, 12:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •