Faces Flow tutorial

This tutorial discusses about Faces Flow which is an addition to Java Server Faces 2.2, included in the Java EE 7 stack. Faces Flow has been inspired by the popular Spring Flow framework and as such it is not intended to be a replacement for the Web application navigation system; rather Faces Flow can be used to encapsulate a set of steps guiding the user through the execution of a business tasks.

We will start checking a basic example of an User Registration using a Faces Flow, next we will see how we can combine together two Flows.
The first flow that we will create is called “signup”. Faces flows mandates that you create a folder with the flow’s name into the WebApp directory. Within this folder you can include the flow configuration file and the pages that are part of the flow.

Please note that it is not mandatory to use a configuration file to define the flow that can also be coded programmatically. However if you are using a configuration file, this file must be named as flowName-flow.xml.

http://www.mastertheboss.com/javaee/jsf/faces-flow-tutorial

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s