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

Broadcast.EXACT does not notify Behaviors of target Component

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 6.11.0, 7.0.0-M1
    • wicket
    • 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. event_quickstart-working.tgz
          31 kB
          Martin Tzvetanov Grigorov
        2. event_quickstart.zip
          60 kB
          Martin Sturm
        3. broadcast-exact.patch
          11 kB
          Martin Tzvetanov Grigorov

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: