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/12/18 21:13:59 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=15759493#comment-15759493 ] 

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

Commit 85e14e7e5151967ffa74d4f52fa9c0121fe84fae in wicket's branch refs/heads/wicket-7.x from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=85e14e7 ]

WICKET-6296 Not possible to add WebSocketBehavior in ajax request

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

This reverts commit af67ba9e3a1e43d4ed4925ebb72efc8358e6565e.


> 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
>             Fix For: 7.3.0, 8.0.0-M1, 6.23.0
>
>
> 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)