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

Allow to add more than one WebSocketBehavior in the component tree

    XMLWordPrintableJSON

Details

    Description

      Adding multiple WebSocketBehaviors to the page will try to create multiple WebSocket connections and the default websocket connection in Wicket doesn't allow this because there is no sense in having more than one connection per page.
      WebSocketBehavior could be improved to contribute its JavaScript only once per page. This way all WebSocketBehaviors will receive messages from this connection. And will be able to push messages of course.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: