initial tutorial step 1
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<webflow-project-description>
|
||||
<version>1</version>
|
||||
<pluginVersion><![CDATA[2.2.0.v200809261800]]></pluginVersion>
|
||||
<pluginVersion><![CDATA[2.2.2.RC]]></pluginVersion>
|
||||
<configs>
|
||||
<config>
|
||||
<file>src/main/webapp/WEB-INF/rewards/newReward/newReward-flow.xml</file>
|
||||
<name><![CDATA[newReward-flow]]></name>
|
||||
<file>src/main/webapp/WEB-INF/tutorial/tutorial-flow.xml</file>
|
||||
<name><![CDATA[tutorial-flow]]></name>
|
||||
</config>
|
||||
</configs>
|
||||
</webflow-project-description>
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<flow xmlns="http://www.springframework.org/schema/webflow"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/webflow http://www.springframework.org/schema/webflow/spring-webflow-2.0.xsd">
|
||||
|
||||
<view-state id="webflowProjectOverview">
|
||||
|
||||
</view-state>
|
||||
|
||||
</flow>
|
||||
@@ -0,0 +1,43 @@
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
<%@ page session="false" %>
|
||||
<html>
|
||||
<head>
|
||||
<title>Getting Started with Spring Web Flow: Overview of the Spring Web Flow Project</title>
|
||||
</head>
|
||||
<body>
|
||||
<h2>
|
||||
What is Spring Web Flow?
|
||||
</h2>
|
||||
<p>
|
||||
Spring Web Flow is a framework for implementing stateful web controllers.
|
||||
It is a Spring Project and part of Spring's open-source Web Stack.
|
||||
</p>
|
||||
<h2>
|
||||
When do I use Web Flow?
|
||||
</h2>
|
||||
<p>
|
||||
Use Spring Web Flow when you need to implement a flow that guides your users through a series of screens to complete a business goal.
|
||||
Web Flow provides a <i>flow definition language</i> for authoring flows that define screen navigation rules.
|
||||
The framework also cares for managing conversational state and preventing duplicate transactions.
|
||||
</p>
|
||||
<h2>
|
||||
How does Web Flow relate to other Spring projects?
|
||||
</h2>
|
||||
<p>
|
||||
Spring Web Flow builds on the Spring Framework project, which includes the Spring MVC web framework.
|
||||
Concretely, Spring Web Flow plugs into Spring MVC as a Controller technology.
|
||||
Then, a typical Spring-powered web application is implemented using a mix of annotated Spring MVC @Controllers and web flows.
|
||||
In general, use @Controllers for implementing simple, single-request user interactions, and web flows for stateful, multi-step user interactions.
|
||||
</p>
|
||||
<p>
|
||||
A number of other Spring projects also integrate with Spring Web Flow.
|
||||
The Spring Faces project uses Spring Web Flow as the controller framework to support implementing Spring-powered web applications that use JavaServerFaces (JSF) as the view technology.
|
||||
Spring Web Flow also provides integration with Spring Security for securing web flows.
|
||||
</p>
|
||||
<p>
|
||||
How Spring Web Flow fits into Spring's layered, a-la-carte "Web Stack" is illustrated below:
|
||||
<img src="<c:url value="/resources/images/tutorial/spring-web-stack.png" />" />
|
||||
</p>
|
||||
<a href="tutorial?execution=${flowExecutionKey}&eventId=next">Next ></a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -5,8 +5,19 @@
|
||||
<title>Getting Started with Spring Web Flow</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1 align="center">
|
||||
<h1>
|
||||
Congratulations! You're running Spring!
|
||||
</h1>
|
||||
<h2>Welcome to the <i>Getting Started with Spring Web Flow</i> tutorial</h2>
|
||||
<p>
|
||||
This tutorial provides a guide to getting up and running with Spring Web Flow in 10 minutes.
|
||||
The tutorial itself is implemented as a web flow.
|
||||
Step 1 of the tutorial will provide a brief overview of the Spring Web Flow project.
|
||||
Future steps will guide you through the basics of integrating Web Flow into your own Spring-powered web application.
|
||||
Enjoy!
|
||||
</p>
|
||||
<p>
|
||||
<a href="tutorial">Begin the tutorial</a>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 37 KiB |
Reference in New Issue
Block a user