Page 85 of 88 FirstFirst ... 35758384858687 ... LastLast
Results 841 to 850 of 879

Thread: [3.0.x, 3.1.1] ux.ManagedIFrame 2.x

  1. #841
    Sencha User
    Join Date
    Sep 2011
    Posts
    1
    Vote Rating
    0
      0  

    Default

    Hello,

    I need to do the following: I generate a JSON structure in my extjs page, post this to the server and get an SVG file back. I need to show this SVG file in a panel in my extjs page.

    I can do this inline, but only if my file containing the extjs code is an xhtml page, which triggers some bugs in extjs.

    In Firefox, I cannot show the SVG inline in a regular html page, so I was thinking of using an iframe and your extension.

    But I don't seem to find how to do this.

    I can get the SVG with Ext.Ajax.request(...) but when I then try to update the Ext.ux.ManagedIFrame.Panel, the SVG is put again in an html document inside the iframe and does not render in FF.

    Is there a way to set the content-type?

    I cannot just use the src parameter since I need to pass this JSON.

    I tried with the load method, but it seems the request is never executed...

    Any help or pointers in the right direction would be appreciated.

    Thanks,

    Philip

  2. #842
    Sencha - Services Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,966
    Vote Rating
    15
      0  

    Default

    @bauwelp --

    The MIF.submitAsTarget method sounds like the way to go. Submit/POST your JSON structure as params to that method and the IFRAME will render whatever the server returns as a result.
    "be dom-ready..."
    Doug Hendricks

    Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.


    Got Sencha licensing questions? Find out more here.


  3. #843
    Ext JS Premium Member
    Join Date
    Oct 2008
    Location
    Nuremberg, Germany
    Posts
    49
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by dreas View Post
    Any news on version 2.1.7? On http://code.google.com/p/managediframe/downloads/list version 2.1.5 still is the latest release.
    A response would be very much appreciated. Thanks in advance.

  4. #844
    Sencha User siebmanb's Avatar
    Join Date
    Aug 2011
    Location
    Geneva (CH) - Grenoble (FR)
    Posts
    253
    Vote Rating
    16
      0  

    Thumbs up

    Hello,

    Does ManagedIFrame works with Sencha Touch 1.1.1 ? And now can you display pages from foreign domain in the iFrame ?

    Thanks a lot

  5. #845
    Ext JS Premium Member dtex-lab's Avatar
    Join Date
    Sep 2009
    Location
    Italy
    Posts
    341
    Vote Rating
    1
      0  

    Default

    Hi
    there is a way to change the Ext.ux.ManagedIFrame.Window title from the loaded code ?
    I see that from the inside code I can access the hostMIF variable.. but no way to change the ManagedIFrame Window (or at least I haven't fount a way..)
    ty
    we make IT work for you

  6. #846
    Sencha - Services Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,966
    Vote Rating
    15
      0  

    Default

    @dtex --

    For the MIF.Window instance title (from within the frame document), it's simply:

    Code:
    window.hostMIF.ownerCt.setTitle('Something New');
    "be dom-ready..."
    Doug Hendricks

    Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.


    Got Sencha licensing questions? Find out more here.


  7. #847
    Ext JS Premium Member dtex-lab's Avatar
    Join Date
    Sep 2009
    Location
    Italy
    Posts
    341
    Vote Rating
    1
      0  

    Default

    ty hendricd

    if it can be useful for others... to manage the related button on the taskbar it is enough to access the variable taskButton ont he ownerCt
    Code:
    window.hostMIF.ownerCt.taskButton
    e.g. I used it in order to change the taskButton title and tooltip

    ty again.
    we make IT work for you

  8. #848
    Sencha Premium Member
    Join Date
    Jul 2007
    Posts
    256
    Vote Rating
    1
      0  

    Default Ext 3.4 with ManagedIFrame Panel / Shim Issue / Ext.Window border is missing slices

    First, thank you Doug for a great component. I use it alot in our app and just bought a license!

    I have this one issue where Ext.Window's are missing some slices of the border/graphics when shown over top a managed iframe with a PDF.

    I have tried:

    Ext.useShims = true;

    Setting shim:true on the window and manually calling showShims(). Nothing works so far.

    My Code is pretty simple:

    Code:
    {
    	       xtype            : 'iframepanel',
                   style             : 'padding:0px;',
                   defaultSrc     : formManager.getFormUrl(this.node.id,'preview'),
                   autoDestroy  : true,
                   autoScroll     : true
    }
    You can see exactly what I mean here:
    http://screencast.com/t/o5xjwCoROnq

    We are launching a beta version of our app on Monday and trying to get this little issue worked out..

    Brook

  9. #849
    Sencha Premium Member
    Join Date
    Jul 2007
    Posts
    256
    Vote Rating
    1
      0  

    Default Ext 3.4 with ManagedIFrame Panel / Shim Issue / Ext.Window border is missing slices

    *bump* - anybody?

  10. #850
    Sencha - Services Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,966
    Vote Rating
    15
      0  

    Default

    @brook --

    This is not an MIF-specific feature, but a tricky Ext configuration puzzle

    Have a look at http://demos.theactivegroup.com/demo...script=acrobat
    examining the source and differences between rendering the PDF natively vs hosted in an iframe.
    "be dom-ready..."
    Doug Hendricks

    Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.


    Got Sencha licensing questions? Find out more here.


Page 85 of 88 FirstFirst ... 35758384858687 ... LastLast

Tags for this Thread

Posting Permissions

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