comments
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 7f98b27..a62b405 100755
--- a/impl/src/main/java/org/apache/myfaces/application/ApplicationImpl.java
+++ b/impl/src/main/java/org/apache/myfaces/application/ApplicationImpl.java
@@ -548,14 +548,13 @@
facesContext, holder.getListenersForEventClass(systemEventClass),
systemEventClass, source, event);
}
-
+
// view attached listeners
- UIViewRoot uiViewRoot = facesContext.getViewRoot();
- if (uiViewRoot != null)
+ UIViewRoot viewRoot = facesContext.getViewRoot();
+ if (viewRoot != null)
{
- //Call listeners on view level
event = _ApplicationUtils._traverseListenerListWithCopy(
- facesContext, uiViewRoot.getViewListenersForEventClass(systemEventClass),
+ facesContext, viewRoot.getViewListenersForEventClass(systemEventClass),
systemEventClass, source, event);
}