relaxedEventMap in RL2

Kyle's Avatar


18 Jun, 2013 05:26 PM

Just wondering if the relaxedEventMap will still be necessary in RL2 or if by chance this solution was now baked into the updated framework?

  1. Support Staff 1 Posted by creynders on 18 Jun, 2013 05:33 PM

    creynders's Avatar

    No it hasn't been baked in. I started on a port from v1, but had to pause
    it indefinitely due to a chronic lack of time.

  2. 2 Posted by Kyle on 18 Jun, 2013 05:35 PM

    Kyle's Avatar

    So will the RL1 code for relaxedEventMap not work with RL2?

  3. 3 Posted by Kyle on 21 Jun, 2013 07:18 PM

    Kyle's Avatar

    If the existing code will not function with RL2, is there any known way to handle the case of mediators being created after events were dispatched (the case that relaxedEventMap was created to handle)?

  4. Support Staff 4 Posted by creynders on 22 Jun, 2013 08:00 AM

    creynders's Avatar

    No the RL1 version won't work with v2. I'm trying a quick 1-to-1 port, but there are some minor issues.

    There are a few possible solutions though, but they depend a little on what you exactly want to do. I never use the relaxed event map myself, but make sure that the mediator is mapped before the event is dispatched. In other words I control the addition of the views more strictly.

  5. Support Staff 5 Posted by creynders on 23 Jun, 2013 02:14 PM

    creynders's Avatar
  6. 6 Posted by Kyle on 24 Jun, 2013 05:00 PM

    Kyle's Avatar
  7. Ondina D.F. closed this discussion on 02 Jul, 2013 07:36 AM.

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

Keyboard shortcuts


? 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