Results 1 to 3 of 3

Thread: Sharing Ext between browser windows

  1. #1
    Sencha User mihaip007's Avatar
    Join Date
    Feb 2008
    Location
    Pretoria, South Africa
    Posts
    194
    Answers
    1
    Vote Rating
    -3
      0  

    Default Sharing Ext between browser windows

    Hey there!

    I was just wondering! I have tried many things to get this working and I know that people in the past mentioned it is not possible!

    I have a main console from where I am launching various other applications with a standard javascript window.open. i don't like the fact that I have to include ext-all.js on each window over and over again as of course it loads to bandwith and speed..! Is there a way to reference the parent window's ext js and use that instance instead of loading the js file all over again?

    Something like window.opener.getNewExt() which returns a NEW instance of Ext? Currently if I do something like that it seems to affect the parent window's application!

    Any thoughts on this one?

    All the best
    Mihai

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,409
    Answers
    716
    Vote Rating
    504
      0  

    Default

    You could use ext.js and load only what is needed .. or create your own all-classes.js using our SDk and only use what you need. As far as having a "parent" load of Ext and all other windows sharing this .. I am not aware of any method for doing this.

    Scott.

  3. #3
    Sencha User mihaip007's Avatar
    Join Date
    Feb 2008
    Location
    Pretoria, South Africa
    Posts
    194
    Answers
    1
    Vote Rating
    -3
      0  

    Default

    I thought as much! It would just be really faster loading if we could have some sort of a multi-application by using a base js from within a parent window!

    Anyway thanks a lot..!
    No idea if this would ever be on the agenda?

    What I mean is something like var myExt = new top.opener.Ext or something similar..!

    Thanks again...
    Mihai

Posting Permissions

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