Author: nbelaevski
Date: 2008-03-21 14:41:08 -0400 (Fri, 21 Mar 2008)
New Revision: 7084
Modified:
trunk/framework/test/src/main/java/org/ajax4jsf/tests/AbstractAjax4JsfTestCase.java
Log:
Missing initialization parameter causing JSF RI failed with NPE has been added
Modified:
trunk/framework/test/src/main/java/org/ajax4jsf/tests/AbstractAjax4JsfTestCase.java
===================================================================
---
trunk/framework/test/src/main/java/org/ajax4jsf/tests/AbstractAjax4JsfTestCase.java 2008-03-21
18:20:16 UTC (rev 7083)
+++
trunk/framework/test/src/main/java/org/ajax4jsf/tests/AbstractAjax4JsfTestCase.java 2008-03-21
18:41:08 UTC (rev 7084)
@@ -55,7 +55,6 @@
import org.ajax4jsf.resource.InternetResource;
import org.ajax4jsf.resource.InternetResourceBuilder;
import org.ajax4jsf.tests.org.apache.shale.test.config.ConfigParser;
-import org.ajax4jsf.webapp.ConfigurableXMLFilter;
import org.ajax4jsf.webapp.WebXml;
import org.apache.shale.test.base.AbstractJsfTestCase;
import org.apache.shale.test.mock.MockApplication;
@@ -132,6 +131,7 @@
// Setup FacesContext with necessary init parameters.
this.servletContext.addInitParameter(SkinFactory.SKIN_PARAMETER, getSkinName());
+ this.servletContext.addInitParameter("com.sun.faces.externalizeJavaScript",
"true");
// setup VCP renderKit, create renderers.
@@ -220,9 +220,6 @@
facesContext.setExternalContext(externalContext);
elContext = facesContext.getELContext();
expressionFactory = application.getExpressionFactory();
-
-
-
}
protected WebClient createWebClient() {
Show replies by date