how to communicate between RL instances

herm.wong's Avatar

herm.wong

05 Jan, 2010 09:32 PM

I am building a Flex Application which holds 2 widgets; each widget runs it's own instance of RL.

I was wondering if there was a way to get the 2 widgets to communicate with each other.

For example, I may want to have a button click on Widget 1 update the content of a label in Widget 2.

Are there any guidelines / examples of how to do this?

Thanks.

  1. Support Staff 2 Posted by Shaun Smith on 06 Jan, 2010 11:17 PM

    Shaun Smith's Avatar

    There are many ways to go about this, but unfortunately no good examples (yet). Stray has put together some utility classes to assist with modular development that you can find here:

    http://github.com/Stray/robotlegs-utilities-Modular

    The basic idea is that you share a secondary IEventDispatcher between those contexts that they can use to communicate on.

  2. herm.wong closed this discussion on 23 Aug, 2010 03:42 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac