myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject [myfaces-tobago] 03/04: TOBAGO-1950: Websockets are not working * enabler in Demo
Date Wed, 02 Jan 2019 09:53:40 GMT
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 <lofwyr@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>


Mime
View raw message