Results 1 to 4 of 4

Thread: using Ext.ux.IFrame and not able to load url in the IFrame

  1. #1
    Sencha User
    Join Date
    Dec 2010
    Location
    Pasadena, CA
    Posts
    28
    Answers
    1

    Default using Ext.ux.IFrame and not able to load url in the IFrame

    I am trying to load a url dynamically in the IFrame, where i am using Ext.ux.IFrame(Extjs 5).
    IFrame has a method setData(), i tried to pass the url in that, but, it just display the url, doesnot load it's content. where as i attached ManagedIFrame.js in Extjs as well, in which their is a method setSrc() in that if pass url, it loads the url in the iframe. Any help will be appreciated.
    Thanks
    Ranjay Singh
    Attached Files Attached Files

  2. #2
    Sencha User
    Join Date
    Dec 2010
    Location
    Pasadena, CA
    Posts
    28
    Answers
    1

    Default

    I found the solution, you can do it by
    this.getLoader().load({url:rec.raw.url});

  3. #3
    Sencha User joel.watson's Avatar
    Join Date
    Nov 2014
    Posts
    3,120
    Answers
    446

    Default

    Thanks for sharing your solution!
    Joel

  4. #4
    Sencha User
    Join Date
    Dec 2010
    Location
    Pasadena, CA
    Posts
    28
    Answers
    1

    Default need help in refreshing IFrame from Url

    In Extjs 5 IFrame has private variable src, which i set initially with a url. I want on click of Refresh button that url to reload in IFrame. But, didn't find any thing. It works fine with IFrame. getLoader().load() in same domain. But, It does not work in cross domain. I have seen ManagedIFrame.js, someone has provided in Extjs 3, they have setSrc() method, I want some thing similar. Any help will be appreciated.

    Thanks
    Ranjay

Similar Threads

  1. Html5 - Sencha Animator & IFrame - Iframe obsolete ?
    By Chacapamac in forum Sencha Animator Help & Discussion
    Replies: 0
    Last Post: 28 Aug 2014, 8:24 AM
  2. Iframe scrolling whole panel is it possible to scroll particular iframe.
    By AswaniKumar in forum Sencha Touch 2.x: Q&A
    Replies: 7
    Last Post: 12 May 2014, 2:06 AM
  3. Replies: 1
    Last Post: 14 Sep 2011, 12:18 AM
  4. Replies: 6
    Last Post: 18 Apr 2007, 2:21 AM
  5. Replies: 1
    Last Post: 15 Apr 2007, 12:58 PM

Posting Permissions

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