You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2019/01/02 09:53:40 UTC
[myfaces-tobago] 03/04: TOBAGO-1950: Websockets are not working *
enabler in Demo
This is an automated email from the ASF dual-hosted git repository.
lofwyr pushed a commit to branch tobago-4.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
commit 8d1cd9fc954664d8b870c6e6ad02ac9b3f156ba6
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Mon Nov 12 20:29:37 2018 +0100
TOBAGO-1950: Websockets are not working
* enabler in Demo
(cherry picked from commit 418bab9b33aae94a9bdb8a45d19bd9bd4f486ee9)
---
tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/web.xml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/web.xml b/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/web.xml
index 09bcad8..95f0ea3 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/web.xml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/web.xml
@@ -37,6 +37,12 @@
<param-value>true</param-value>
</context-param>
+<!-- enable for websockets -->
+ <context-param>
+ <param-name>javax.faces.ENABLE_WEBSOCKET_ENDPOINT</param-name>
+ <param-value>true</param-value>
+ </context-param>
+
<!-- disable error handling from myfaces, needed for the demo -->
<context-param>
<param-name>org.apache.myfaces.ERROR_HANDLING</param-name>