Results 1 to 5 of 5

Thread: ScriptTagProxy in Air beta3??

  1. #1
    Ext User
    Join Date
    Oct 2007
    Posts
    83
    Vote Rating
    0
      0  

    Default ScriptTagProxy in Air beta3??

    Hi,

    I'm trying to get my Ext app running in AIR.. it has gone very smoothly except where I use a ScriptTagProxy for cross-domain calls. The introspector doesn't give me any helpful errors, but does show the script tag is added to the page, then removed again but nothing happens.
    I expect it's some sort of Air security issue but I've got no idea where to start. Anyone run into this?

    Thanks
    Rob

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,607
    Vote Rating
    59
      0  

    Default

    Air is not a browser! It has no <script> tags.

  3. #3
    Ext User
    Join Date
    Oct 2007
    Posts
    83
    Vote Rating
    0
      0  

    Default

    very helpful, thanks a lot. Have you even used Air?

    Can anyone else help?!

  4. #4
    Ext User
    Join Date
    Jul 2007
    Posts
    3,128
    Vote Rating
    3
      0  

    Default

    as he said, air is not a browser, tho it does act quite similar to one. the answer you are looking for is that air doesnt have a same origin policy for xhr, so you can use a normal http proxy instead of a script tag proxy.

  5. #5
    Ext User
    Join Date
    Oct 2007
    Posts
    83
    Vote Rating
    0
      0  

    Default

    Thanks devnull, I'll give that a go now.

    Just to clarify for anyone else reading this - Air uses the same rendering engine as safari and obviously does have <script> tags - would like to see an Ext app work without them!

Posting Permissions

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