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

22
src/dist/readme.txt vendored
View File

@@ -50,25 +50,19 @@ SpringSource repository. Add the following repository to your Maven pom.xml:
</repository>
Then declare the following dependencies (note that many times it's sufficient
to include spring-webflow only, which will give you spring-binding and spring-js
to include spring-webflow only, which will give you spring-binding
via transitive dependencies):
<dependency>
<groupId>org.springframework.webflow</groupId>
<artifactId>org.springframework.binding</artifactId>
<version>2.4.4.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.webflow</groupId>
<artifactId>org.springframework.js</artifactId>
<version>2.4.4.RELEASE</version>
<version>x.y.z.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.webflow</groupId>
<artifactId>org.springframework.webflow</artifactId>
<version>2.4.4.RELEASE</version>
<version>x.y.z.RELEASE</version>
</dependency>
If using JSF all you need to include is:
@@ -76,7 +70,7 @@ If using JSF all you need to include is:
<dependency>
<groupId>org.springframework.webflow</groupId>
<artifactId>org.springframework.faces</artifactId>
<version>2.4.4.RELEASE</version>
<version>x.y.z.RELEASE</version>
</dependency>
To access jars using Ivy, add the following repositories to your Ivy config:
@@ -93,13 +87,13 @@ To access jars using Ivy, add the following repositories to your Ivy config:
Then declare the following dependencies in your ivy.xml:
<dependency org="org.springframework.webflow" name="org.springframework.binding" rev="2.4.4.RELEASE" conf="compile->runtime" />
<dependency org="org.springframework.webflow" name="org.springframework.js" rev="2.4.4.RELEASE" conf="compile->runtime" />
<dependency org="org.springframework.webflow" name="org.springframework.webflow" rev="2.4.4.RELEASE" conf="compile->runtime" />
<dependency org="org.springframework.webflow" name="org.springframework.binding" rev="x.y.z.RELEASE" conf="compile->runtime" />
<dependency org="org.springframework.webflow" name="org.springframework.js" rev="x.y.z.RELEASE" conf="compile->runtime" />
<dependency org="org.springframework.webflow" name="org.springframework.webflow" rev="x.y.z.RELEASE" conf="compile->runtime" />
If using JavaServerFaces:
<dependency org="org.springframework.webflow" name="org.springframework.faces" rev="2.4.4.RELEASE" conf="compile->runtime" />
<dependency org="org.springframework.webflow" name="org.springframework.faces" rev="x.y.z.RELEASE" conf="compile->runtime" />
For more information see the reference documentation and the SpringSource Repository FAQ:
https://github.com/spring-projects/spring-framework/wiki/Spring-repository-FAQ

View File

@@ -49,7 +49,7 @@
</para>
<para>
To access Web Flow jars from Maven Central, declare the following dependency in your pom (includes
transitive dependencies "spring-binding" and "spring-js"):
transitive dependencies "spring-binding"):
</para>
<programlisting language="xml"><![CDATA[
<dependency>
@@ -60,7 +60,8 @@
]]>
</programlisting>
<para>
If using JavaServer Faces, declare the following dependency in your pom (includes transitive dependencies "spring-binding", "spring-webflow" and "spring-js"):
If using JavaServer Faces, declare the following dependency in your pom
(includes transitive dependencies "spring-binding", "spring-webflow"):
</para>
<programlisting language="xml"><![CDATA[
<dependency>
@@ -148,12 +149,6 @@
<version>x.y.z.BUILD-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.springframework.webflow</groupId>
<artifactId>spring-js</artifactId>
<version>x.y.z.BUILD-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.springframework.webflow</groupId>
<artifactId>spring-webflow</artifactId>

View File

@@ -48,7 +48,7 @@
(note that these extensions require the use of Tiles for templating):
</para>
<programlisting language="xml"><![CDATA[
<bean id="tilesViewResolver" class="org.springframework.js.ajax.AjaxUrlBasedViewResolver">
<bean id="tilesViewResolver" class="org.springframework.webflow.mvc.view.AjaxUrlBasedViewResolver">
<property name="viewClass" value="org.springframework.webflow.mvc.view.FlowAjaxTilesView"/>
</bean>]]>
</programlisting>