Author: alexsmirnov
Date: 2007-10-02 19:23:29 -0400 (Tue, 02 Oct 2007)
New Revision: 3203
Modified:
branches/3.1.x/framework/impl/src/main/java/org/ajax4jsf/resource/ResourceLifecycle.java
Log:
Fix for a
http://jira.jboss.org/jira/browse/RF-1056 issue.
Modified:
branches/3.1.x/framework/impl/src/main/java/org/ajax4jsf/resource/ResourceLifecycle.java
===================================================================
---
branches/3.1.x/framework/impl/src/main/java/org/ajax4jsf/resource/ResourceLifecycle.java 2007-10-02
18:05:21 UTC (rev 3202)
+++
branches/3.1.x/framework/impl/src/main/java/org/ajax4jsf/resource/ResourceLifecycle.java 2007-10-02
23:23:29 UTC (rev 3203)
@@ -135,6 +135,8 @@
}
}
}
+ // Fix for a
http://jira.jboss.org/jira/browse/RF-1056
+ if(facesContext.getResponseComplete()) return;
// create "dummy" viewRoot, to avoid problems in phase listeners.
UIViewRoot root = new UIViewRoot();
root.setViewId(resource.getKey());
@@ -154,6 +156,8 @@
}
}
}
+ // Fix for a
http://jira.jboss.org/jira/browse/RF-1056
+ if(facesContext.getResponseComplete()) return;
// Invoke before render view phase listeners
renderViewEvent = new PhaseEvent(facesContext,
PhaseId.RENDER_RESPONSE, this);