Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5339

Broadcast.EXACT does not notify Behaviors of target Component

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.11.0, 7.0.0-M1
    • Component/s: wicket
    • Labels:
      None

      Description

      As described in IRC I want to "answer" an event by sending an event back to events source using broadcast exact. But that answer should be handled by a Behavior on the component.

      When using any other broadcast type behaviors will be notified too. But not when using exact. Since Behavior does not implement IEventSink I cannot address the behavior directly instead of the component. Even if that works I think it wont be a good practice.

      I'm not sure if this is a bug, since it's a philosophic question if exact broadcast should include behaviors of a component.

        Attachments

        1. broadcast-exact.patch
          11 kB
          Martin Grigorov
        2. event_quickstart.zip
          60 kB
          Martin Sturm
        3. event_quickstart-working.tgz
          31 kB
          Martin Grigorov

          Activity

            People

            • Assignee:
              mgrigorov Martin Grigorov
              Reporter:
              sturmm Martin Sturm
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: