Author: nbelaevski
Date: 2009-07-31 11:30:43 -0400 (Fri, 31 Jul 2009)
New Revision: 15081
Modified:
branches/community/3.3.X/framework/impl/src/main/java/org/ajax4jsf/resource/ResourceLifecycle.java
Log:
https://jira.jboss.org/jira/browse/RF-7633
Modified:
branches/community/3.3.X/framework/impl/src/main/java/org/ajax4jsf/resource/ResourceLifecycle.java
===================================================================
---
branches/community/3.3.X/framework/impl/src/main/java/org/ajax4jsf/resource/ResourceLifecycle.java 2009-07-31
15:20:51 UTC (rev 15080)
+++
branches/community/3.3.X/framework/impl/src/main/java/org/ajax4jsf/resource/ResourceLifecycle.java 2009-07-31
15:30:43 UTC (rev 15081)
@@ -140,9 +140,13 @@
// Invoke before render view phase listeners
PhaseEvent renderViewEvent = new PhaseEvent(facesContext,
PhaseId.RENDER_RESPONSE, this);
- processPhaseListeners(phaseListeners, renderViewEvent, true);
- sendResource(resourceContext, resource);
- processPhaseListeners(phaseListeners, renderViewEvent, false);
+
+ try {
+ processPhaseListeners(phaseListeners, renderViewEvent, true);
+ sendResource(resourceContext, resource);
+ } finally {
+ processPhaseListeners(phaseListeners, renderViewEvent, false);
+ }
}
} finally {