You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2016/04/22 22:22:12 UTC
[jira] [Created] (WICKET-6152) Allow to add more than one
WebSocketBehavior in the component tree
Martin Grigorov created WICKET-6152:
---------------------------------------
Summary: Allow to add more than one WebSocketBehavior in the component tree
Key: WICKET-6152
URL: https://issues.apache.org/jira/browse/WICKET-6152
Project: Wicket
Issue Type: Improvement
Components: wicket-native-websocket
Affects Versions: 6.22.0, 7.2.0, 8.0.0-M1
Reporter: Martin Grigorov
Assignee: Martin Grigorov
Priority: Minor
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)