Fold spring-js + spring-js-tiles3 into spring-webflow

Issue: SWF-1693
This commit is contained in:
Rossen Stoyanchev
2017-01-06 11:28:03 -05:00
parent 4d59b21e49
commit 5b0df65be4
33 changed files with 123 additions and 865 deletions

View File

@@ -2,8 +2,8 @@ package org.springframework.faces.webflow;
import junit.framework.TestCase;
import org.springframework.js.ajax.AjaxHandler;
import org.springframework.js.ajax.SpringJavascriptAjaxHandler;
import org.springframework.webflow.context.servlet.AjaxHandler;
import org.springframework.webflow.context.servlet.DefaultAjaxHandler;
import org.springframework.mock.web.MockServletContext;
import org.springframework.web.context.support.StaticWebApplicationContext;
import org.springframework.webflow.context.ExternalContext;
@@ -31,7 +31,7 @@ public class JsfFlowHandlerAdapterTests extends TestCase {
}
public void testAjaxHandlerProvided() throws Exception {
AjaxHandler myAjaxHandler = new SpringJavascriptAjaxHandler();
AjaxHandler myAjaxHandler = new DefaultAjaxHandler();
this.handlerAdapter.setAjaxHandler(myAjaxHandler);
this.handlerAdapter.afterPropertiesSet();
assertTrue(myAjaxHandler == this.handlerAdapter.getAjaxHandler());