myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject [myfaces] branch master updated: MYFACES-4303 f:websocket does not call p:ajax listeners
Date Fri, 04 Oct 2019 15:53:05 GMT
This is an automated email from the ASF dual-hosted git repository.

tandraschko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces.git


The following commit(s) were added to refs/heads/master by this push:
     new 67d2f5d  MYFACES-4303 f:websocket does not call p:ajax listeners
67d2f5d is described below

commit 67d2f5dc73603bd2a66394669ffddf146a941947
Author: Thomas Andraschko <tandraschko@apache.org>
AuthorDate: Fri Oct 4 17:52:57 2019 +0200

    MYFACES-4303 f:websocket does not call p:ajax listeners
---
 .../java/org/apache/myfaces/push/WebsocketComponentRenderer.java   | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/impl/src/main/java/org/apache/myfaces/push/WebsocketComponentRenderer.java b/impl/src/main/java/org/apache/myfaces/push/WebsocketComponentRenderer.java
index c3564a2..5ccafd3 100644
--- a/impl/src/main/java/org/apache/myfaces/push/WebsocketComponentRenderer.java
+++ b/impl/src/main/java/org/apache/myfaces/push/WebsocketComponentRenderer.java
@@ -42,6 +42,7 @@ import org.apache.myfaces.push.cdi.WebsocketChannelMetadata;
 import org.apache.myfaces.push.cdi.WebsocketChannelTokenBuilderBean;
 import org.apache.myfaces.push.cdi.WebsocketSessionBean;
 import org.apache.myfaces.push.cdi.WebsocketViewBean;
+import org.apache.myfaces.renderkit.html.util.ClientBehaviorRendererUtils;
 import org.apache.myfaces.renderkit.html.util.HTML;
 import org.apache.myfaces.renderkit.html.util.ResourceUtils;
 
@@ -82,6 +83,12 @@ public class WebsocketComponentRenderer extends Renderer implements ComponentSys
     }
 
     @Override
+    public void decode(FacesContext facesContext, UIComponent component)
+    {
+        ClientBehaviorRendererUtils.decodeClientBehaviors(facesContext, component);
+    }
+
+    @Override
     public void encodeBegin(FacesContext facesContext, UIComponent component) throws IOException
     {
         ResponseWriter writer = facesContext.getResponseWriter();


Mime
View raw message