How to communicate accross applications in different application domains using SWFBridge

Hi,
I have a Flex portal application that loads two sub-applications as siblings as such: Different application domains but same Security Domain
var loaderContext1:LoaderContext = new LoaderContext(); 
loaderContext1.applicationDomain = new ApplicationDomain();//new app domain
/* sub-application 1*/
swfLoader1 = new SWFLoader();
swfLoader1 .loaderContext = loaderContext1;
var loaderContext2:LoaderContext = new LoaderContext(); 
loaderContext2.applicationDomain = new ApplicationDomain();//new app domain 
/* sub-application 2*/ 
swfLoader2 = new SWFLoader();swfLoader2.loaderContext = loaderContext2;
But the host application (which is in a different application domain), needs to receive data from the first sub-application and pass it to the second sub-applicaiton.
I heard about the SwfBridge and Shared events but I am not sure how to use it. I can't find documentation on how to implement it.
Any direction or feedback woul be very helpful.
thank you.
Regards,
/Fatima

Hi,
Thanks for your post. The app I want to cmd-tab to is on screen at the other desktop. I've tried again using 7 different applications and this problem persists in all of them, so I still need to use a multi-touch gesture (or ctrl-right arrow).
Just to be clear, when I press cmd+tab to change into iTerm, for instance, I can see iTerm in the menu bar next to the apple, but Lion won't change into a different desktop or show me the iTerm windows.
Edit: thank you captfred ! It was in front of me.

Similar Messages

  • How to get web application to use Tuscany without conflicting with SAP SDO

    Hi,
    We are attempting to run a web application on SAP NetWeaver CE 7.1 SP1 which uses Tuscany SDO.  As it now stands We must use Tuscany because the web application will not run with the SAP SDO implementation provided by Netweaver. To ensure that Tuscany is loaded with priority, we have packaged the Tuscany JAR files and their dependencies as a heavy resource, as described here:
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60642a88-95fe-2b10-d387-a245d48fc257?overridelayout=true
    The final check showed that Tuscany was correctly deployed as a heavy resource and included the following JAR files:
    common-2.2.3.jar
    ecore-2.2.3.jar
    ecore-change-2.2.3.jar
    ecore-xmi-2.2.3.jar
    tuscany-sdo-impl-1.1.1.jar
    tuscany-sdo-lib-1.1.1.jar
    tuscany-sdo-tools-1.1.1.jar
    xsd-2.2.3.jar
    We also verified that the web application using Tuscany has a hard reference to the Tuscany heavy resource.
    However, when we try to run the web application, the following error is logged:  java.lang.LinkageError: Class commonj/sdo/DataGraph violates loader constraints
    The issue is definitely due to some kind of classloading conflict with the SAP SDO library, as the application runs normally when SAP SDO is manually removed from the classpath. Doing this on a production system is unfortunately not an option, though.
    So the question is: how to get web application to use Tuscany without conflicting with SAP SDO?

    I took a look at the "printerReady" example.  Looks like I may be able to use the InetPing (...) function to ping through a range of IP addresses looking for a response.
    Any ideas on how to find the MAC address associated with the IP addresses that respond?
    We may have multiple units responding and the MAC address will allow the operator to determing which unit to connect to.
    I'll try the InetPing to see how it works,
    Kirk

  • How to configure ADF application to use OAM Identity Assertion ? web.xml

    We have a web application developed using ADF (application development framework) and deployed on WebCenter 11.1.1.2 (weblogic 10.3.2)
    OID Authentication and OAM identity assertion is configured in WebLogic 10.3.2 .
    How to configure security in ADF application (web.xml or weblogic.xml) so that it uses OAM identity assertion (already configured as authentication providers in weblogic server)
    Any pointers or documentation so that application (developed using ADF) check for identity tocken and verifies it with one of identity assertion providers.

    John,
    I have to concur. With OAM you don't need this. OAM intercepts the calls and inserts a cookie for WLS to get user information from.
    I strongly advise to go through the above mention OFM Security Guide. Esp. Chapter 10 tells you in every detail how to implement OAM SSO with WLS (with or without OHS as a proxy).
    Reading this chapter saves you time and turnarounds on this topic...
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to populate an application item using ONCHANGE.

    I am trying to populate an application item, TAB_INSTATE using an onchange command. I cannot figure out how to do it. Does anyone know the syntax, or can you point me in the right direction. I am unfamiliar with javascript and have been relying on previous examples, posts. thanks
    apex_item.select_list_from_query
    (20,
    c020,
    'select partner_name, partner_abbrev
    from partners
    where state_code is not null order by partner_name ',
    'style="width:100px"'
    || 'onchange="'
    || CASE
    WHEN :p300_authorization1 = 1
    THEN 'f_set_casc_area(this,f21_'
    || LPAD (seq_id, 4, '0')
    || ');'
    ELSE
    <THIS IS WHERE I WOULD LIKE A THE VALUE OF c020 TO BE PLACED INTO :TAB_INSTATE>
    END
    || 'f_set_casc_subarea(this,f22_'
    || LPAD (seq_id, 4, '0')
    || ')"',
    'YES',
    '0',
    '- Select State -',
    'f20_' || LPAD (seq_id, 4, '0'),
    NULL,
    'NO'
    ) in_state,

    Hello Karen,
    >> I am trying to populate an application item, TAB_INSTATE using an onchange command.
    I believe I answered you in here - Re: once more...4 cascading LOVs, 3rd is hidden 4th no longer works However, for future reference…
    You don’t have a direct access to an application item, using JavaScript, because application items don’t render on page. You can, however, using the AJAX framework to do that, using the add() method. The generic code I’m using is the following:
    <script type=”text/JavaScript”>
    function setSessionValue(pItem, pValue) {
      var get = new htmldb_Get(null,html_GetElement('pFlowId').value,null,0);
      get.add(pItem, pValue);
      get.get();
      get = null;
    </script>This code can set any page or application item value.
    Regards,
    Arie.

  • How to manually add library to my WL domain using admin console?

    Hello All,
    In need to manually add the JSF2:0 shared library into my
    domain using the admin console. How can I do that?
    Should I go to Admin Console -> Deployments -> Install -> Upload (from my desktop) -> now how do I tell where this should be installed in weblogic?
    Thanks,

    this link http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e13952/taskhelp/library/DeployLibrary.html shows the steps involved

  • How to communicate between applications

    Is it possible to have one java application cause another java applicalion to go into/out of a sleep or wait state. Both application are on the same machine.
    What I am trying to do is have a program which will wait/sleep (using little on no processing power)
    untill a database trigger(oracle) or another java program wakes it up.
    Regards
    Sam

    A simple way will be to use communication through sockets. The sleeping aplication will listen to a specific port and when it receives a signal will "wake up".

  • How to define the application to use for opening each file type (pdf, jpg,...)

    I installed an external application, and this new application has been configured by defect that it will be used to open all files with extensions like jpg, pdf, etc...
    I want to revert this situation and define again the proper application I want to use for opening each file type. How can I do this in Lion?
    Thanks,
    Azaldier

    Pick a representative file.
    Get info. (Command-i)
    There you will see a place "Open with" where you can select the application for that file.
    Hit the "Change all..." button to do this for all files of this type.
    charlie

  • How to restart swing application by using shotcut key (ex :CTRL+ALT+ENTER)

    Hi,
    Currently my swing application freezs some times, it will not come back, only option i have is restart.
    Can some one can help me how i can implement short cut key (CTRL+ALT+ENTER) that can restart my application. (in any state, my action should allow to restart).
    Thanks
    Anjan
    Edited by: 807057 on Nov 2, 2010 9:16 AM

    Currently my swing application freezs some times, it will not come back,I would work on fixing that problem. Sounds like you aren't using Threads properly and are blocking the EDT. Read the section from the Swing tutorial on [url http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html]Concurrency for more information.
    how i can implement short cut key (CTRL+ALT+ENTER) that can restart my application.Within Swing this would be done by using "Key Bindings". A section on Key Binding is found on the tutorial link from above. However, is Swing actually is frozen then this won't work.
    Therefore this would need to be done at the OS level, which java doesn't support. You would need to use JNI, which I know nothing about.

  • How do i see how much storage each application is using?

    my mac gave me a warning that it is nearly out of storage.  I have 500GB internal storage which i am surprised i am almost out of.
    i use a DSLR camera which takes up a lot of storage with each picture but i am still surprised.  how can i see how much each application is taking up in terms of storage? 
    Thanks.

    First, empty the Trash if you haven't already done so. Then reboot. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation. You also need enough space left over to allow for growth of your data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    To locate large files, you can use Spotlight. That method may not find large folders that contain a lot of small files.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) to explore your volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    Install ODS in the Applications folder as usual. Quit it if it's running.
    Triple-click the line of text below to select it, then copy the selected text to the Clipboard (command-C):sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The application window will open, eventually showing all files in all folders. It may take some minutes for ODS to list all the files.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with ODS, quit it and also quit Terminal.

  • How to Integrate Dynpro Applications without using Local DCs

    Hi,
         I am facing problem in Integrating Local DCs, we are not using DTR. What we have done is, developed our projects using Local Development Components and copied all this into one system and added to the Used DCs, and deployed all the Local DCs into the J2ee Server. It is deployed but giving Runtime Error.
    Can anybody help us in this regard, we want to know the complete procedure involved in this.
    thank you,

    Hi Ludo,
    I followed the
    Developer Guide: Smartphone
    Mobiliser Applications
    Sybase Mobiliser Platform 5.1
    SP03
    Document, but  some where i am getting errors , here are the screen shorts what i did step by step ..
    so can you guide me how to resolve these issues ..
    Thanks,
    Vamsi

  • How to i allow applications to use push notifications?

    I just got my first iphone.  Excitedly, i downloaded a ton of apps.  I didn't know what push notifications were, so i didn't allow any of these new apps to use push.  how do i go back and allow push in apps?

    Thanks.  I think I have a handle on pushes now.  Originally, I totally missunderstood what "push" meant in this context.  I thought it meant aps would send me more notifications than normal.  Not that it referred to the technology of how the notifications got to my phone.
    I have also downloaded the manual... which is way more helpful than the tiny pamphlet that came with the phone!!

  • How to retrive latest items from different site collection using content search web part

    I have a web application that contains two site collections(team site + enterprise wiki), with the following URLs:-
    -http://applicationname/teamsite
    -http://applicationname/enterprisewik
    Now I need to display the latest 10 wiki pages that are inside the enterprise wiki site collection (according to the modified date) inside the team site. So I read that using Content search web part allows for cross-site content query.
    So I added a new content search web part , inside my team site, and I click on “change query” button. But I am not sure how I can reference the enterprise wiki site collection's library and to specify that I need to get the latest 10 wiki pages using the
    content search web part's query dialog box? Can anyone advice please ?
    Thanks

    Edit the webpart and click change query in search criteria.  click on switch to advanced mode and enter your path:
    (path:"http://applicationname/teamsite" OR path:"http://applicationname/enterprisewik")
    you can specify sorting by created date and click ok.  in number of items to show, type 10.  this should fulfill your requirement.
    For further reading, here are some links:
    http://office.microsoft.com/en-001/office365-sharepoint-online-enterprise-help/configure-a-content-search-web-part-in-sharepoint-HA104119042.aspx
    http://blogs.technet.com/b/tothesharepoint/archive/2013/04/30/stage-9-configure-the-
    query-in-a-content-search-web-part-on-a-category-page.aspx
    http://blogs.technet.com/b/tothesharepoint/archive/2013/05/23/stage-10-configure-the-query-in-a-content-search-web-part-on-a-catalog-item-page.aspx
    kashif

  • How can i  print reports to different printer by use Trigger on table after insert

    Hello,
    Please can any one tell me how can i print (any message) to different printer (network & local printer) by use Trigger on table after insert.
    regards,
    Linda.

    What you want to do cannot be done with PL/SQL, which does have any print utilities. However you could write something using Java Stored Procedures.
    Of course the "different printer" bit will have to be data driven as triggers are not interactive.
    rgds, APC

  • How to compare 2 arrays with different operator options using parameters in Teststand

    Pls let me know how to compare 2 arrays using different operators like <= or >= or ==......

     I am using TS 2010. FYI
    ex:
    Array XX [ A_Temp,
                   B_Temp,
                   C_Oil Pressure,
                   D_Oilpressure,
    Note : A_Temp, B_Temp,C_Oil Pressure,D_Oilpressure all these parameters will be getting  numerical values (dynamically) from the simulink models and also in future I may need to add parameters to this array.
    Array YY [A_Temp_1,
                   B_Temp_2,
                   C_Oil Pressure_3,
                   D_Oilpressure_4,
    Note : A_Temp_1, B_Temp_2,C_Oil Pressure_3,D_Oilpressure_4 all these parameters will be getting  numerical values (dynamically) from the simulink models
    So my question :
    I would like to verify A_Temp >= A_Temp_1
                                B_Temp >= B_Temp_2
                                C_Oil Pressure  >= C_Oil Pressure_3  etc

  • How to Communicate with Programs running on AIX server Using LabVIEW.

    We have an IBM AIX server on which some programs are running  which basically perform some scientific calculations. I am required to send the inputs to the calculation from a VI on windows system and get back the results  on the VI.  I do not have any idea on how to do this.
    But i heard that there is a tool ( not developed in LabVIEW) developed by my customer which can communicate with the AIX server thro Java Classes.
    So i tried exploring APPLETVIEW which supports java and LabVIEW but i am confused.
    Is there any way to achive this interfacing between AIX and LABVIEW?.
    Thanks  
    Vilas G

    Hi Vilas,
    How you may communicate with you AIX server may very greatly depending on what is running on your server.  Here is a link to another thread where Java calls and AppletView were discussed.  It contains a link to the company that makes AppletView, so it may have some good information for you. 
    Also, if your customer suggested you use AppletView and they developed it, they would probably be your best bet for explaining it to you.
    Hope this helps!
    Spex
    National Instruments
    To the pessimist, the glass is half empty; to the optimist, the glass is half full; to the engineer, the glass is twice as big as it needs to be...

Maybe you are looking for

  • Particular operation to be done in another plant-Req to let me know how to do step by step

    Dear all, Kindly find below image Customer required 0020 operation,this production has to be done in another plant of the same company not by other vendors. I.E first operation production will be done in same plant(Plant 1) Second operation productio

  • Error During the Transfer of Asset

    Dear Experts, I am trying to retire an Asset through ABAVN, But its giving an error Message Viz.. Partial retirement or transfer of prior-yr acquis. not possible                                                                                Message n

  • Error when trying to connect to I-tunes

    Our computer crashed. It has now been fixed. I can no longer connect to I-tunes. My computer shows an error report everytime I click the icon. I have deleted and restored the CD program my I-pod came with. I have also downloaded the software from the

  • Color space, gamma, and code value range data

    Greetings! I'm getting close to submitting my film for professional DCP creation.  It's a ProRes 422 4096 by 1716, 2.39 - 1 file, created as a "master file" in a Premiere Pro CC export (the sequence being an "online" of sorts, built from SpeedGrade c

  • Synchronization hangs intermittently

    Hi, The synchronization of a couple of Analysis Services databases hangs intermittently. They generally hang on Thursday which is when there is a relatively heavy load on the servers. However the servers are high spec so there is not a high load perc