Iframe and runtime

Area: AIR
Problem Statement : Cannot access runtime from the html in an iframe
Description:
1. I have a landing page that consists of 2 iframes
2. these two iframes call into html files to display the landing page
3. I do not get a handle to the window.runtime from the page that gets loaded
Relevant Psuedo Code
1. landingpage.html consists of 2 iframes
<body>
          <script>
               // here i can access the runtime OK
               air.trace("Got the runtime OK");
          </script>
          <iframe src="up.html"></iframe>
          <iframe src="down.html"></iframe>
</body>
2. up.html
<body>
     <script>
          air.trace("PROBLEM:\t cannot get a handle to the AIR runtime")
     </script>
</body>
NOTES:
1. Anyone faced a similar problem before and know a way to solve it.
Thanks,
~bavads

Here is the solution
<iframe src="up.html" ondominitialize="var air = parent.air"></iframe>
Finally things are working...

Similar Messages

  • Hanging Report Builder and Runtime-6i

    Hi
    The Reports 6i Builder and Runtime screens are taking 15-20 minutes to open in Win NT Environment.Earlier they used to work just fine.In this 'vaccum' time the task list shows Program not responding but eventually after 10-15 minutes ,the window opens fully.Please note that connectivity is ok and this time i am not running any report ..just starting the Report Builder or Report Runtime 6i. Same problem is occuring with Reports Queue Manager as well ,running as a service on this pc.
    Any sort of advice welcomed.
    Thanks.

    This seems to be a problem of Windows NT environment in which the reports are running and not problem with Oracle Reports as such. I suspect some DLL has got corrupted and you have to rebuild the pc again..try re-installing Windows again .
    Cheers

  • When I try to load a pdf in iframe and I disable PDF toolbar, Its working fine in Internet Explorer and lower versions of Firefox, but in Firefox 19 its not

    When I try to load a PDF inside Iframe and I disable toolar=0 (as guided by adobe). I am able to see the iframe with PDF with no toolbar in IE and lower versions of Firefox (till version 14).
    But in my current version 29, The PDF is visible with toolbar on top.
    Can you please let me know the way to display pdf with no toolbar in Firefox 29?

    I replied on your similar question here: https://support.mozilla.org/questions/1005225

  • Differences between System.gc() and Runtime.gc() ?

    differences between System.gc() and Runtime.gc() ?

    None!
    P.S. I have only found one reason to use System.gc(). For some obscure reason it seems that if one invokes System.gc() when a Swing application is about to be iconized it substantially reduces the delay experienced when de-iconizing the application!
    Several reasons for this have been suggested but I have found none that really explain why it works but it does work!
    Edited by: sabre150 on Sep 28, 2007 10:23 AM

  • Make the installer for my executable run the DAqcarddriver and runtime engine installer automatically

    *Hi
    I would like to know how to make the installer for my executable run the DAqcarddriver and runtime engine installer automatically
    I would like to include run time engine and the drivers of  my daqcard(AI16XE50),( and maybe Ni daq or anything else needed?) in order to make my application portable for other computers on OS win98 and winXP .
    How can I do that
    thank you in advance
    Olivier

    Olivier,
    What version of LabVIEW are you using to build your application?  On a remote computer you should only need the drivers you are using and the Run-Time Engine.  You can attach installers to LabVIEW 8 installers, but for previous versions you will have to add it by opening the installer configuration page, configuring your installer and then configure the Advanced properties.  This will allow you to attach a EXE to the installer which you can run.  Also depending on the version of LabVIEW will affect the OS version that you will be able to install the RTE on.  LabVIEW 7.0 is the last version that can be installed on Windows 98. 
    Please let me know if you have any further questions and please include the version of LabVIEW you are using.  Thanks!
    Andy F.
    National Instruments

  • Crystal Reports ActiveX Designer Design and Runtime Library 11.0

    Hi to all,
               I want to design the CR at runtime because depending upon the situation the SProcs return 20 or 30 or 40 columns. so am using Crystal Reports ActiveX Designer Design and Runtime Library 11.0 COM component. but i dont know how to write the code for this dll and the same time i want to bind the image also from the SQL database as BLOB. Could any body post sample code.
    Tools am using :
    Asp.Net 2.0, SQL Server 2005, Crystal Report 11.0

    You will likely need them all.
    Here's another [link|https://boc.sdn.sap.com/developer/library] to our Diamond support site which has much more info and sample code.
    Find this section:
    Sample Code
    Download sample code projects to run in your BusinessObjects Enterprise XI 3.0 and Crystal Reports 2008 development environments.
    Title (click to download) Technology Topic
    BusinessObjects Enterprise Java SDK Sample Code  Java Enterprise Administration
    Report Application Server Java SDK Sample Code  Java Crystal Reports
    Viewers Java SDK Sample Code  Java Crystal Reports
    Report Engine Java SDK Sample Code  Java Web Intelligence
    Web Services Java SDK Sample Code  Java Web Services
    Data Access Driver Java Sample Code  Java Data Access
    Crystal Reports .NET SDK Sample Code  .NET Crystal Reports
    Report Application Server .NET SDK Sample Code  .NET Crystal Reports
    Web Services .NET SDK Sample Code .NET Web Services
    Desktop Intelligence COM SDK Sample Code COM Desktop Intelligence
    Thanks again
    Don

  • Crystal Reports ActiveX Designer Design and Runtime Library 11.5

    Hai to all,
                I'm new in crystal report 11.5, my task is desig time i just create a blank report during runtime programaticaly create Fieldobject,Blob object and so on, i came to know this is the right (Crystal Reports ActiveX Designer Design and Runtime Library 11.5) dll but, i dont know how to write the code. Experts please post simple code, i tried this site https://boc.sdn.sap.com/codesamples but there is no code related my task, experts please help me.
    Softwares am using:
    Visual studio 2005, asp.net 2.0, SQL server 2005 and crystal report 11.5
    Edited by: winseelan j on Aug 21, 2008 4:03 PM

    Hello,
    You are using the wrong SDK in this case. You cannot use ADO.NET (crdb_adoplus.dll) with the RDC. It would not recognise it. RDC only supports classic ADO (crdb_oledb.dll). Report Creation APi and the RDC was designed for Visual Basic 6.0.
    To do what you are trying to do you would have to use the Report Application Server (RAS) in .NET to create your reports.
    I recommend starting by creating a simple application with the report created in the Crystal Report designer using ADO.NET(XML) driver and Visual Studio .NET code to pass the dataset at runtime so you are familiar with the code and properties before trying to create the full report in code with RAS.
    You will find more information and samples in the Developer's Library:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
    The samples are at:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/CrystalReports_dotNET_SDK/sampleList.htm
    Look for "VB_Web_Data_DataSets".
    If you create a dataset you want in Visual Studio .NET, you can write it to XML or and XML Schema and use that to create the report.
            'From a dataset, create an XML file to use creating a new report
            'using the full path to the .xml file, include the schema
            dataSet.WriteXml("C:\Temp\myReportData.xml", XmlWriteMode.WriteSchema)
            'Or create a schema to use building a report
            dataSet.WriteXmlSchema("C:\Temp\myReportData.xsd")
    Once you have the report format the way you want it, you can use the Report Application Server Samples from the Developer's Help to give you direction in building your report at runtime:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/RAS_SDK/sampleList.htm
    Elaine

  • How to create a button which unloads an iFrame and puts in its position another iFrame?

    How to create a button which unloads an iFrame and puts in its position another iFrame?
    It is very important for me if anyone could answer...
    Thank you all in advance,
    Frank

    Ok I found it!!

  • Creating design and runtime repositiries in the remote database in OWB 10.2

    Hi,
    As per my current scenario i have OWB 10.2 installed in a client machine and i have to create target schemas, design repository and runtime repository (control center) in a remote data base.OWB is not installed in this remote data base.
    Firstly is possible to have such a configuration in OWB, if yes are there any implications of that.
    Thx

    want to confirm whether an machine having OWB client can start the control center services or specifically the client system from which i had installed the repository.There are no any limitations with executing Control Center service from any computer with instaled OWB software.
    If we can do it from any client machine, is there any way we can restrict this to have some level of securityAs I know there is no in OWB any standard feature to restrict executing CC service from specified computers.
    But maybe you can use for this task Oracle database features, for example OnLogon trigger (it is possible to check IP address from which connection is initiated).
    Regards,
    Oleg

  • Link broken for Adobe Reader and Runtime Software Distribution License Agreement download...

    The link provided as part of the Adobe Reader and Runtime Software Distribution License Agreement, for downloading the PKG to mass-deploy Adobe Flash Player to my users (so I can update their machines to protect against yet another Flash exploit) keeps redirecting to typekit.com.
    How do I go about getting the latest PKG so I can deploy the fix?

    Can you try clearing your cache?  This was indeed a problem earlier today (sorry!) but should be corrected now.
    Thanks,
    Chris

  • IFrames and .swf over lapping problem

    ello,
    I've made my site in iweb '09 and I've uploaded some .swf Flash files to my site. It works great except on one of my pages, the only page with an iFrame. I have a basic layout I use on all of my pages and the .swf is in the same location on every page, the only content that changes is my text. Its a "tab" layout I guess you could say. So my iFrame is in place of the text that is always changing and for some reason my .swf captures and displays my iframe inside of it's frame.(0_o) So I have two areas on my page that my iFrame is displayed. I've moved the iFrame around, changed a lot of the code (for both the iFrame and the .swf HTML snippet) and have had no luck. Can anyone please help me?
    If you cannot understand what it is I am trying to ask, please visit my website and take at look at the "Reviews" tab.
    www.nomadicpc.com
    Thanks in advance!

    The Review page looks OK to me. You browser must have not loaded all the files that first time.
    Interesting using iWeb and an Mac to create a PC repair site.
    OT

  • How can I downgrade my Java version and Runtime Environment to 6?

    Hi, thanks for reading this in advance:
    I have a couple problems. Ever since Java Preferences was removed in one of Lion's updates I have been having trouble with java.
    How do I downgrade my java and runtime environment to java 6?
    When I go into terminal, and type java -version, this is what I get:
    java version "1.7.0_09"
    Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
    Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)
    How do I downgrade the "java version" to 6 and how do I downgrade the SE Runtime Environment to 6?
    I accidentally installed 7 a couple days ago and I've been having trouble with some applications.
    Thank you so much.

    Dear Minionsman and everyone who reads this. I was so happy when i downgraded and i wanted to share it to all, I have found out why it says this in terminal
    java version "1.7.0_09"
    Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
    Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)
    and why it says something different on java tester
    Its because java 7 blocks every java version below it.
    How do you downgrade?
    Well all you do is delete a few files
    INSTRUCTIONS BELOW
    1.Open Terminal
    2. Enter these commands
    sudo mkdir -p /Library/Internet\ Plug-Ins/disabled
    sudo mv /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin /Library/Internet\ Plug-Ins/disabled
    sudo ln -sf /System/Library/Java/Support/Deploy.bundle/Contents/Resources/JavaPlugin2_NPAPI .plugin /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
    sudo ln -sf /System/Library/Frameworks/JavaVM.framework/Commands/javaws /usr/bin/javaws
    3.
    Go to /Library/Internet Plug-Ins/ and delete the JavaAppletPlugin.plugin bundle.
    4.
    Go to /System/Library/Java/JavaVirtualMachines/ and delete anything whose name starts with jdk1.7.0 or says Java 7 or something similar.
    5. now go to terminal and type
    java -version
    6.it should say something like this
    java version "1.6.0_35"
    Java(TM) SE Runtime Environment (build 1.6.0_35-b10-428-11M4508)
    Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01-428, mixed mode)
    <Edited by Host>

  • Issues with IFrame and calling an application outside the IFrame

    Hi
    I have an issue which is really turning my head 360 degrees in a "dead loop":)
    I have a WebDynpro application, one component and three views in a viewset.
    The first view will always be placed in column one and depending on some action the two other views should be loaded one by one. So in the main view the users will select three parameters from three dropdownboxes and then a call with the given parameters to an html file in KM - which then again is passing the parameters to a swf file which is presenting an Business Objects dashboard. The BO Dashboard is presented in an iFrame.
    The users selects an element in the Dashboard and is then again calling the webdynpro application with four parameters, the three first from the dropdownboxes, but also a new one which is used to call the third view. I am using NavigationTarget in the URL to load the application at the given position in the portal. And the logic is working, BUT the portal is presented in the IFram of the first View.
    So my question is - How to navigate from the IFrame and "back into the portal"????
    Regards
    Kay-Arne

    There was an issue with the serialization file created.
    Creating a new serilaization file via AAMEE and running it resolved the issue.
    Create a serialization file via AAMEE: http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/creativesuite/pdfs/Ad obeApplicationManagerEnterpriseEditionDeploymentGuide_v_3_1.pdf
    And then run it via command line.
    Here are the steps:
    AdobeSerialization (serialization file created using AAMEE 3.1) is not a double clickable file. You need to run it via command line to serialize the products. the command line is -
    AdobeSerialization --tool=VolumeSerialize --stream --provfile=”Absolute_Path_of_prov.xml”
    where
    --tool=VolumeSerialize:  specifies that the tool needs to process the prov.xml file to serialize.
    --provfile” specifies the absolute file path to the prov.xml file,
    By default, the tool looks for the prov.xml file in the same directory as the executable file and so
    typically you do not need to specify this option. (Specify this option only if the prov.xml file is in some
    other location.)
    Make sure you invoke command prompt with Admin privileges. Return code of zero means success.
    Tiffany can you please confirm the same?
    -Pragya

  • Why we need Design Repository and Runtime repository seperately?

    Hi All,
    Anybody please tell me why we need design time repository and runtime repository seperately? And also I want to know the total OWB Architecture.
    Thanks,
    Siv
    Edited by: Siv on Feb 10, 2010 10:40 PM

    Hi Siv:
    Concerning Repository:
    Since OWB 10.2 there is only one Repository storing Design and Runtime-Components.
    excerpt from http://download.oracle.com/docs/cd/E10926_01/doc/owb.101/b12146/over.htm (OWB 10.1.):
    The Design Repository, installed in an Oracle database, stores the metadata definitions for all of the objects used in Warehouse Builder. This is where all of the design information is stored for the target systems you are creating. You can access metadata stored here using the client user-interface, or through OMB Plus, the Warehouse Builder scripting utility.
    The runtime repository, installed in an Oracle database, stores all of the deployment data as well as data from executed mappings and process flows. This is where the target environment information is stored for the business intelligence systems you create. This includes connection information for all of the deployment locations.
    Which version of OWB are you using?
    Greetings
    Guenther Herzog

  • IFrame and Mouse Wheel conflict

    Hi
    A question, if someone can help it would be great !
    I made a fonction on the stage, I listen to the mouse wheel, that works perfectly ! but then I call an iFrame and put it in one symbole, at this moment each time I use the mouse wheel, when I am over this symbol it stop working, outside it is style working
    Any idea ?
    Code of the mousewheel function
    $(window).bind('DOMMouseScroll', function(event) { }
    thanks

    Hi, So the Shockwave Flash Object...ActiveX Control...Flash10e.ocx is installed in the manage add ons and it is enabled.
    Is that the only one listed that way, no other Shockwave Flash Object? If so then that is correct.
    The Flash files for Firefox (or other browsers): Flashplayer.xpt, uninstall_plugin.exe, NPSWF32.dll and NPSWF32_FlashUtil.exe are correct IF when you right click on the 2 NPSWF files and click on Properties and they are the version 10.0.45.2.
    The Flash files for IE: FlashAuthor.cfg, FlashUtil10e.exe, install.log and uninstall_activeX.exe are correct. The FIDbg10e.ocx is a debug version. The FlashPlayerTrust I don't see too often. My research tells me this was similar to the current Settings Manager but for older Flash Player versions. Anytime I see that or the FIDbg10e.ocx, or even older versions I recommend removing it. Sometimes a user will even have an older version of the debug .ocx.
    I don't know what Flash files are installed if say a user has only the debug version. But what I see here is a mix. The IE Flash files have the current version (the first three listed) and a debug .ocx. I would think that would certainly cause a conflict. The correct file should be Flash10e.ocx.
    If you were just concerned about your Flash Player working correctly or not, I would suggest removing the FIDbg10e.ocx and the FlashPlayerTrust.
    You might want to go to this Adobe Flash Player test site: http://www.adobe.com/software/flash/about/ I would be interested in knowing what that result is.
    Thanks,
    eidnolb

Maybe you are looking for

  • Send two signals at the same time to serial

    Hi I have a problem in that I want to control some relay boards by serial. The boards have an address byte (to determine which of the three relay boards) and a relay combination (four relays on each board). The .vi I will need to make will be sending

  • HT4528 How do I use a song I bought in iTunes as my ringtone?

    How do I use a song I purchased through iTunes as my ringtone?

  • Unable to rename file's

    i am trying to rename files in a folder nine files name are taken from the text file dnine.txt were for every occurance of a number in the filename i wrote this code it reaches the condition as marked bold but it isnt renaming the files plzz help imp

  • How do i deauthorize a defunced computer

    How do i deauthorize a dead computer after using the "deauthorize all" button withing 12 months?

  • 4.6 Vs ECC6

    Dear Experts We are on SAP 4.6 and Can anyone help me to get what has been introduced in 'International payroll' in SAP ECC6 compared to 4.6 (atleast a link where I can get the above information. Would be a great help indeed.) Many Thanks Washeefa