Is there a way to dispatch or bubble events between two pop-up windows?

Hi. I was wondering if there is a way to dispatch custom
events between two or more pop-up windows created using the
PopUpManager?
I understand how to pass an event from one pop-up window to
the main application (or FrontController) by dispatching the event
from Application.application under Cairngorm 2.0.
However, as I understand it, that will only bubble the event
through the Application chain of visual controls and not to the
other pop-up windows created using the PopUpManager.
I tried dispatching the event directly from the pop-up window
itself, but the other pop-ups still does not seem to receive the
event.
It would be nice to be able to do this so that each non-modal
pop-up can have some awareness with each other.
Thank you very much in advance.

If you have just 2 pop-ups you can have them each do a
addEventListener on the other, listening for the event (custom or
otherwise).
If you have an unpredicatable number, then you devise
something else. Suppose you have 3 pop-ups, p1, p2, and p3. Let's
say you also have 1 custom event, E1. Any of those pop-ups is
capable of dispatching an E1 event and you want all of them to
receive it.
Create a class that extends EventDispatcher and instantiate
an object of that class. Each pop-up "registers" with that class,
something like:
controller.addEventListener( "E1", handler ); where handler
is a function in the pop-up.
When a pop-up wants to dispatch an E1 event, it does it
through the controller: controller.dispatchEvent( new E1(data) );
This will automatically dispatch that event to all the
pop-ups, including the one that dispatched the event. So a pop-up
will have to examine the event to see if it sent it and perhaps
ignore it.

Similar Messages

  • Is there a way to transfer pictures from my ipod classic to my windows computer?

    Is there a way to transfer pictures from my ipod classic to my windows computer?

    Tranfer itunes puchases by:
    iTunes Store: Transferring purchases from your iPhone, iPad, or iPod to a computer
    Other stuff by the info provided in this previous discussion:
    Best iPod to PC

  • Is there a way to share one music library with two seperate icloud accounts?

    Is there a way to share one music library with two seperate icloud accounts? I have over 12,000 songs in my library and my son likes the same music, but recently his ipod touch is picking up the texts from my wife's and my phone? I was told the only way to stop this is by giving him his own icloud account which would mean he wouldn't have access to my music library. Any ideas?

    He can still use your Apple ID for iTunes content, no issues. He just gets a separate ID for everything else.

  • Is there a way to create a multiple event screen saver from iPhoto events?

    Is there a way to create a multiple event screen saver from photos in iphoto?  I can create a single event screen saver, but don't know if it is possible to create a screen saver with more than one event.

    Drag the events you want into an album and have the screen saver run from the album.

  • Is there a way to view an ENTIRE event?

    In the old iCal when you selected an event it was displayed in the right side panel. The new iCal doesn't do that and when I double click to see the event the new window only shows the first 4 lines of the event. I use iCal to save the info for the jobs I'm doing, and it's kind of annoying to have to scroll down ten lines to find out where I'm supposed to go. Is there any way to view the ENTIRE event? Maybe even to have it show up in the side panel the way it used to?
    thanks

    There is a 'Location' field in the event record that is displayed only if it contains an entry.
    In a quick test, I was able to create a new event and display at least 7 lines of text in the Location field when I clicked on the event and then touched the space bar to display the details.
    The Event Name field still only displays the first four lines of text, unless you double click and scroll, as you have been doing.

  • Is there any way to work on one Catalog from two computers simultaenously?

    Is there any way to work on one Catalog from two computers simultaenously?
    I have a catalog with 7000 images we have to process / crop / etc. and I was trying to find a way that two of us could work on the images at the same time.
    Thanks!

    No, the LR catalog is not multi user capable (and cannot reside on a network share without tricks). What you could do is
    export part of the catalog (a subset of all images) into a separate catalog ("Export as Catalog", without exporting the negatives)
    work on different images in the two catalogs at the same time
    re-import ("Import from Catalog") the exported work after adjustments on it is finished
    Beat

  • Is there any way to print my Keynote slides in two columns on a page?

    Is there any way to print my presentation slides in two columns on a page? thanks

    You can do this through the Print dialog when you go to print your slides. In the dialog, click the dropdown menu that says "Copies and Pages", and choose
    "Keynote". Here you can use the "Handout" settings to put multiple slides on a page. This option will leave some space beside the slides, where the notes would go.
    Alternatively, in the same dropdown menu, you can choose "Layout". In the panel that appears, you can set your output to print multiple pages on a single sheet of paper, and arrange them how you like. If you are set to print slides and not handouts, this method will print multiple slides, without spaces for notes, on a single sheet.

  • Is there a way to add a google search tab to the safari window interface in ios7?, is there a way to add a google search tab to the safari window interface in ios7?

    Is there a way to add a google search tab to the safari window interface in i0s7?

    You can't add icons to Safari on iOS devices. You can set google as your default search engine for Safari via Settings > Safari > Search Engine - the URL field acts as both URL and search on iOS 7

  • Is there a way to share IOS keyboard shortcuts between devices?

    Is there a way to share IOS keyboard shortcuts between devices? Although I use Text Expander on Lion and it is great, I think it would be very useful if Apple allowed syncing of keyboard shortcuts between the Mac and IOS devices via iCloud. It would be great to set these up on the Mac and have them available on both my iPad and iPhone.

    Now built directly into the iOS:
    http://www.intomobile.com/2011/10/27/set-up-keyboard-shortcuts-ios-5/

  • Is there a way to show Custom message in Outlook Mail read Inspector Window same as When a File is opened in Protected View.

    Is there a way to show Custom message in Outlook Mail read Inspector Window same as When a File is opened in Protected View.
    If we open a Document from Untrusted location,the file is opened in Protected mode and a Red Message bar is shown below the ribbon for Excel,Word apps.
    Can we show this type of similar message bar with custom Message in Outlook or any other Office App.

    Are you displaying an MSG file? Keep in mind that Outlook creates a temporary copy in one of Outlook folders, so strictly speaking your are not looking at a file.
    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

  • Is there a way to remove installed updates from the App Store update window? I keep getting an alert that I have an update for Apple Remote Desktop. It says its installed, but the alert and the app keep showing up. Annoying!!

    Is there a way to remove installed updates from the App Store update window? I keep getting an alert that I have an update for Apple Remote Desktop. It says its installed, but the alert and the app keep showing up. Annoying!!

    Spotlight: How to re-index folders or volumes
              http://support.apple.com/kb/ht2409
    Mac App Store: Cannot update App Store purchases or updates do not seem available
              http://support.apple.com/kb/TS4236
    If re-indexing the spotlight doesn't fix it,we can try a few other tricks.

  • Is there a way to move a group of tabs to a new window? I know how to move one tab to a new window, but is there a way to mark a group of tabs and move them to a new window?

    Is there a way to move a group of tabs to a new window? I know how to move one tab to a new window, but is there a way to mark a group of tabs and move them to a new window?

    * Tab Mix Plus: https://addons.mozilla.org/firefox/addon/tab-mix-plus/

  • Is there a way to indicate that an event has additional notes?

    I have appointments with additional notes in my calendar. I do not seem to see a way to know that there are additional notes unless I double-click on the event and it opens up the new window.
    Is there a way to indicate that an event has additional notes?
    Thanks.

    Sorry for joining this thread so late, but I just was searching for an answer to the missing icons (notes, recurring event, etc.) and have already submitted feedback, but I noticed that it might be better to give feedback in the specific iCal area: http://www.apple.com/feedback/ical.html
    I gave feedback in both areas, Mac OS X and iCal.

  • HT2506 Is there any way to view a signed PDF where the signed uses Windows/Adobe and I am viewing it preview?...I do not see the signature in  "signed" docs

    Is there any way to view a signed PDF where the signed uses Windows/Adobe and I am viewing it preview?...I do not see the signature in  "signed" docs

    I have already reinstalled both Adobe Reader and the full version of CS5 which includes Adobe Pro.  Neither of those steps worked. 
    Thanks,
    GiGi

  • I was trying to connect my ipad and iphone using icloud. After signing in on both devices I clicked merge. I went to check my calendar and all my events were gone. Is there any way I can get my events back?

    I was trying to connect my ipad and iphone using icloud. After signing in on both devices I clicked merge. I went to check my calendar and all my events were gone. Is there any way I can get my events back?

    Check to see if they are on your calendar on icloud.com.  If they aren't, all you can do is try to restore to your last backup, although it isn't clear that calendar events are included in the iCloud backup.

Maybe you are looking for

  • Lock ups and general lag

    Hi guys, Has anyone had any issue with the phone locking up/freezing on them? Its happened to me the last couple of nights now... I've been browsing the menus and it just slows down and becomes unresponsive and laggy. Barely usable! I have to shut do

  • Dynamic Sender File Name

    Hi, It’s a File to ABAP Proxy Scenario. The files would be processed differently depending on the file name which would be dynamic. It would suffice if the file name can be made visible in the payload. Does any one have any idea on how to implement t

  • JSP, BC4J, Udating records: Dates

    Hi, I have a JSP application that has several date fields. I have a calender bean to populate the fields. The values are entered as "YYYY-MM-DD". When all the fields are required to be updated, the update proceeds without a problem and the updated da

  • Problems with ALV report

    Hello, I have a report that is showing data by company code and vendor number. I have the file sorted by company code and vendor number. when I run the report for 1 company, the company code prints on the first line.all of the other lines have the co

  • Packaging /rep:policy node - Node is protected

    Hi all, I'm trying to package up some groups, along with their policy nodes down the content tree, so I can easily import them onto other Author instances via package manager.  All is working, except for the root rep:policy node.  When I try and inst