Author: manaRH
Date: 2010-02-04 14:28:38 -0500 (Thu, 04 Feb 2010)
New Revision: 12013
Modified:
branches/community/Seam_2_2/ui/src/main/java/org/jboss/seam/ui/facelet/RendererRequest.java
Log:
rolling back changes in ui/src/main/java/org/jboss/seam/ui/facelet/RendererRequest.java
for JBSEAM-3769
Modified:
branches/community/Seam_2_2/ui/src/main/java/org/jboss/seam/ui/facelet/RendererRequest.java
===================================================================
---
branches/community/Seam_2_2/ui/src/main/java/org/jboss/seam/ui/facelet/RendererRequest.java 2010-02-04
18:36:58 UTC (rev 12012)
+++
branches/community/Seam_2_2/ui/src/main/java/org/jboss/seam/ui/facelet/RendererRequest.java 2010-02-04
19:28:38 UTC (rev 12013)
@@ -48,19 +48,10 @@
response = new MockHttpServletResponse();
setContextClassLoader();
-
- // If a FacesContext isn't available, set one up
- if (FacesContext.getCurrentInstance() == null)
- {
- facesContext = RendererFacesContextFactory.instance().getFacesContext(request,
response);
- }
- else
- {
- facesContext = FacesContext.getCurrentInstance();
- }
// Generate the FacesContext from the JSF FacesContextFactory
originalFacesContext = FacesContext.getCurrentInstance();
+ facesContext = RendererFacesContextFactory.instance().getFacesContext(request,
response);
DelegatingFacesContext.setCurrentInstance(facesContext);
// Create the viewRoot
Show replies by date