Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
4Activity

Table Of Contents

Preface
1. Introduction
1.1. What this guide covers
1.2. What Web Flow requires to run
1.3. Where to get support
1.4. Where to follow development
1.5. How to obtain Web Flow artifacts from the SpringSource Bundle Repository
Accessing Web Flow with Maven
Accessing Web Flow with Ivy
1.6. How to obtain Web Flow artifacts from Maven Central
1.7. How to Obtain Nightly Builds
2. Defining Flows
2.1. Introduction
2.2. What is a flow?
2.3. What is the makeup of a typical flow?
2.4. How are flows authored?
2.5. Essential language elements
flow
view-state
transition
</view-state>
end-state
Checkpoint: Essential language elements
2.6. Actions
evaluate
Assigning an evaluate result
Converting an evaluate result
Checkpoint: flow actions
2.7. Input/Output Mapping
input
Declaring an input type
Assigning an input value
Marking an input as required
output
Specifying the source of an output value
Checkpoint: input/output mapping
2.8. Variables
2.9. Calling subflows
subflow-state
Passing a subflow input
Mapping subflow output
Checkpoint: calling subflows
3. Expression Language (EL)
3.1. Introduction
3.2. Supported EL implementations
Unified EL
OGNL
3.3. EL portability
3.4. EL usage
Expression types
Standard eval expressions
Template expressions
3.5. Special EL variables
flowScope
viewScope
requestScope
flashScope
conversationScope
requestParameters
currentEvent
currentUser
messageContext
flowRequestContext
flowExecutionContext
flowExecutionUrl
externalContext
3.6. Scope searching algorithm
4. Rendering views
4.1. Introduction
4.2. Defining view states
4.3. Specifying view identifiers
Flow relative view ids
Absolute view ids
Logical view ids
4.4. View scope
Allocating view variables
Assigning a viewScope variable
Manipulating objects in view scope
4.5. Executing render actions
4.6. Binding to a model
4.7. Performing type conversion
Implementing a Converter
Registering a Converter
4.8. Suppressing binding
4.9. Specifying bindings explicitly
4.10. Validating a model
Programmatic validation
Implementing a model validate method
Implementing a Validator
ValidationContext
4.11. Suppressing validation
4.12. Executing view transitions
Transition actions
Global transitions
Event handlers
Rendering fragments
4.13. Working with messages
Adding plain text messages
Adding internationalized messages
Using message bundles
Understanding system generated messages
4.14. Displaying popups
4.15. View backtracking
Discarding history
Invalidating history
5. Executing actions
5.1. Introduction
5.2. Defining action states
5.3. Defining decision states
5.4. Action outcome event mappings
5.5. Action implementations
Invoking a POJO action
Invoking a custom Action implementation
Invoking a MultiAction implementation
5.6. Action exceptions
Handling a business exception with a POJO action
Handling a business exception with a MultiAction
5.7. Other Action execution examples
on-start
<on-start>
</on-start>
on-entry
on-exit
on-end
<on-end>
</on-end>
on-render
on-transition
Named actions
6. Flow Managed Persistence
6.1. Introduction
6.2. FlowScoped PersistenceContext
web.xml Configuration
8. Flow Inheritance
8.1. Introduction
8.2. Is flow inheritance like Java inheritance?
8.3. Types of Flow Inheritance
Flow level inheritance
State level inheritance
8.4. Abstract flows
8.5. Inheritance Algorithm
Mergeable Elements
Non-mergeable Elements
Non-mergeable elements are:
9. System Setup
9.1. Introduction
9.2. webflow-config.xsd
9.3. Basic system configuration
FlowRegistry
FlowExecutor
9.4. flow-registry options
Specifying flow locations
Assigning custom flow identifiers
Assigning flow meta-attributes
Registering flows using a location pattern
Flow location base path
Configuring FlowRegistry hierarchies
Configuring custom FlowBuilder services
conversion-service
view-factory-creator
development
9.5. flow-executor options
Attaching flow execution listeners
Tuning FlowExecution persistence
max-executions
max-execution-snapshots
Example FlowHandler
Deploying a custom FlowHandler
FlowHandler Redirects
10.5. View Resolution
10.6. Signaling an event from a View
Using a named HTML button to signal an event
Using a hidden HTML form parameter to signal an event
Using a HTML link to signal an event
11. Spring JavaScript Quick Reference
11.1. Introduction
11.2. Serving Javascript Resources
11.3. Including Spring Javascript in a Page
11.4. Spring Javascript Decorations
11.5. Handling Ajax Requests
Handling Ajax Requests with Spring MVC Controllers
Handling Ajax Requests with Spring MVC + Spring Web Flow
12. JSF Integration
12.1. Introduction
12.2. Spring-centric Integration Approach
12.3. Configuring web.xml
12.4. Configuring Web Flow to render JSF views
12.5. Configuring faces-config.xml
12.6. Replacing the JSF Managed Bean Facility
Using Flow Variables
Using Scoped Spring Beans
Manipulating The Model
12.7. Handling JSF Events With Spring Web Flow
Handling JSF In-page Action Events
Handling JSF Action Events
Performing Model Validation
Handling Ajax Events
12.8. Enhancing The User Experience With Rich Web Forms
Validating a Text Field
Validating a Numeric Field
Validating a Date Field
Preventing an Invalid Form Submission
12.9. Third-Party Component Library Integration
Rich Faces Integration
Apache MyFaces Trinidad Integration
13. Portlet Integration
13.1. Introduction
13.2. Configuring web.xml and portlet.xml
13.3. Configuring Spring
Flow Handlers
Handler Mappings
Flow Handler Adapter
13.4. Portlet Views
13.5. Portlet Modes and Window States
Window State
Portlet Mode
13.6. Issues in a Portlet Environment
Redirects
Switching Portlet Modes
Portlets and JSF
14. Testing flows
14.1. Introduction
14.2. Extending AbstractXmlFlowExecutionTests
14.3. Specifying the path to the flow to test
14.4. Registering flow dependencies
14.5. Testing flow startup
14.6. Testing flow event handling
14.7. Mocking a subflow
15. Upgrading from 1.0
15.1. Introduction
15.2. Flow Definition Language
Flow Definition Updater Tool
Flow Definition Updater Tool Warnings
EL Expressions
15.3. Web Flow Configuration
Web Flow Bean Configuration
Web Flow Schema Configuration
flow-executor
flow-execution-listeners
flow-registry
Flow Controller
Flow URL Handler
View Resolution
15.4. New Web Flow Concepts
Automatic Model Binding
OGNL vs EL
Flash Scope
Spring Faces
External Redirects
Appendix A. Flow Definition Language 1.0 to 2.0 Mappings
0 of .
Results for:
No results containing your search query
P. 1
spring-webflow-reference

spring-webflow-reference

Ratings: (0)|Views: 1,910 |Likes:
Published by kumaranonmail

More info:

Published by: kumaranonmail on Mar 21, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

11/07/2012

pdf

text

original

You're Reading a Free Preview
Pages 4 to 51 are not shown in this preview.
You're Reading a Free Preview
Pages 55 to 65 are not shown in this preview.
You're Reading a Free Preview
Pages 69 to 107 are not shown in this preview.

Activity (4)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Erick Cas liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->