You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2008/08/02 22:42:05 UTC
svn commit: r682044 -
/myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component/UIViewRoot.java
Author: lu4242
Date: Sat Aug 2 13:42:05 2008
New Revision: 682044
URL: http://svn.apache.org/viewvc?rev=682044&view=rev
Log:
MYFACES-1894 events aren't cleared
Modified:
myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component/UIViewRoot.java
Modified: myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component/UIViewRoot.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component/UIViewRoot.java?rev=682044&r1=682043&r2=682044&view=diff
==============================================================================
--- myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component/UIViewRoot.java (original)
+++ myfaces/core/trunk_1.2.x/api/src/main/java/javax/faces/component/UIViewRoot.java Sat Aug 2 13:42:05 2008
@@ -218,12 +218,12 @@
if (broadcast)
{
_broadcastForPhase(phaseId);
- if (context.getRenderResponse() || context.getResponseComplete())
- {
- clearEvents();
- }
}
}
+ if (context.getRenderResponse() || context.getResponseComplete())
+ {
+ clearEvents();
+ }
return notifyListeners(context, phaseId, getAfterPhaseListener(), false);
}