You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/04/22 22:51:12 UTC

[jira] [Commented] (WICKET-6152) Allow to add more than one WebSocketBehavior in the component tree

    [ https://issues.apache.org/jira/browse/WICKET-6152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15254651#comment-15254651 ] 

ASF subversion and git services commented on WICKET-6152:
---------------------------------------------------------

Commit b9a1ae901b8add3285d29a29d4a18ac2c23c8f86 in wicket's branch refs/heads/master from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=b9a1ae9 ]

WICKET-6152 Allow to add more than one WebSocketBehavior in the component tree

Contribute the WebSocketBehavior's JavaScript only once per non-Ajax request


> 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: 7.2.0, 8.0.0-M1, 6.22.0
>            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)