You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ta...@apache.org on 2020/04/14 09:29:03 UTC

[myfaces] branch master updated: comments

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 f63bd2b  comments
f63bd2b is described below

commit f63bd2b9ea78348c973da4ec06d80e60b313d577
Author: Thomas Andraschko <ta...@apache.org>
AuthorDate: Tue Apr 14 11:28:56 2020 +0200

    comments
---
 .../src/main/java/org/apache/myfaces/application/ApplicationImpl.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/impl/src/main/java/org/apache/myfaces/application/ApplicationImpl.java b/impl/src/main/java/org/apache/myfaces/application/ApplicationImpl.java
index 6857562..7f98b27 100755
--- a/impl/src/main/java/org/apache/myfaces/application/ApplicationImpl.java
+++ b/impl/src/main/java/org/apache/myfaces/application/ApplicationImpl.java
@@ -534,6 +534,8 @@ public class ApplicationImpl extends Application
         try
         {
             SystemEvent event = null;
+            
+            // component attached listeners
             if (source instanceof SystemEventListenerHolder)
             {
                 SystemEventListenerHolder holder = (SystemEventListenerHolder) source;
@@ -547,6 +549,7 @@ public class ApplicationImpl extends Application
                         systemEventClass, source, event);
             }
             
+            // view attached listeners
             UIViewRoot uiViewRoot = facesContext.getViewRoot();
             if (uiViewRoot != null)
             {
@@ -556,6 +559,7 @@ public class ApplicationImpl extends Application
                         systemEventClass, source, event);
             }
 
+            // global listeners
             SystemListenerEntry systemListenerEntry = _systemEventListenerClassMap.get(systemEventClass);
             if (systemListenerEntry != null)
             {