added support for jspx
This commit is contained in:
@@ -2,7 +2,7 @@ SPRING WEB FLOW CHANGELOG
|
||||
=========================
|
||||
http://www.springframework.org/webflow
|
||||
|
||||
Changes in version 2.0.3 (15.07.2008)
|
||||
Changes in version 2.0.3 (31.07.2008)
|
||||
-------------------------------------
|
||||
|
||||
Changes in version 2.0.2 (06.06.2008)
|
||||
|
||||
@@ -75,12 +75,13 @@ This distribution contains documentation and sample applications demonstrating t
|
||||
A great way to get started is to review and run the sample applications, supplementing with reference manual material as you go.
|
||||
To build deployable .war files for all samples, simply access the projects/build-spring-webflow directory and run ant.
|
||||
All projects are directly importable into Eclipse as "Dynamic Web Projects".
|
||||
See projects/spring-webflow-samples/readme.txt for more information.
|
||||
See http://www.springframework.org/webflow-samples for more information.
|
||||
|
||||
5. OBTAINING RELEASE JARS USING MAVEN OR IVY
|
||||
--------------------------------------------
|
||||
5. OBTAINING RELEASE JARS FROM THE SPRINGSOURCE BUNDLE REPOSITORY
|
||||
-----------------------------------------------------------------
|
||||
Each jar in the Web Flow distribution is available in the SpringSource release repository.
|
||||
These jars may be accessed using Maven or Ivy dependency managers.
|
||||
Browse the contents of the repository by accessing http://www.springsource.com/repository.
|
||||
|
||||
To access jars using Maven, add the following repositories to your Maven pom:
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ public class FlowResourceFlowViewResolver implements FlowViewResolver {
|
||||
// internal helpers
|
||||
|
||||
private View getViewInternal(String viewPath, RequestContext context, ApplicationContext flowContext) {
|
||||
if (viewPath.endsWith(".jsp")) {
|
||||
if (viewPath.endsWith(".jsp") || viewPath.endsWith(".jspx")) {
|
||||
if (JSTL_PRESENT) {
|
||||
JstlView view = new JstlView(viewPath);
|
||||
view.setApplicationContext(flowContext);
|
||||
@@ -92,7 +92,7 @@ public class FlowResourceFlowViewResolver implements FlowViewResolver {
|
||||
}
|
||||
} else {
|
||||
throw new IllegalArgumentException("Unsupported view type " + viewPath
|
||||
+ " only types supported by this FlowViewResolver implementation are [.jsp]");
|
||||
+ " only types supported by this FlowViewResolver implementation are [.jsp] and [.jspx]");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user