In the previous few sections, we've looked at some of the theory behind page flow navigation within Seam applications. Let's now pull all of this together in a working example.
Note
The complete code base for this sample application can be found within the Chapter 3/Vacation Planner
folder of the code download bundle for the book.
To gain practice with the Seam page flow, our sample application displays a set of vacation types and allows the users to select their favorite type of vacation. In addition, the user can select their minimum budget. The sample application appears as shown in the following screenshots:
Once you have gone through all of the pages and made your choices, you will be redirected to the following page:
In this sample application, we have different types of page flows being used.
If the user selects an Adventure vacation as his or her favorite, he or she is reminded to get travel insurance.
If the user selects a Beach vacation as his or her favorite, he or...