Lab #7 (Visual Page Flow Design)

Overview

Seam provides a powerful visual page flow designer. Using the eclipse based jBPM process designer, or a text editor, page-flows with dynamic decision points can be designed. In this lab, you will create the page flow shown below using the eclipse visual page flow tool.

Lab Instructions

  1. Open your seam command window/shell
  2. type: seam switch-project (helloworld-lab7 should be entered as the project name)
  3. CHEAT:
  4. NO CHEAT:
  5. type: cd @seamHome@
  6. type: seam explode restart
  7. Goto URL: localhost:8080/helloworld-lab7
  8. type: seam unexplode (Will undeploy the exploded EAR file)

Key Files

@workspaceHome@@sep@helloworld-lab7@sep@resources@sep@WEB-INF@sep@components.xml
@workspaceHome@@sep@helloworld-lab7@sep@resources@sep@WEB-INF@sep@pages.xml
@workspaceHome@@sep@helloworld-lab7@sep@resources@sep@pageflow.jpdl.xml

@workspaceHome@@sep@helloworld-lab7@sep@src@sep@com@sep@mydomain@sep@FlowBean.java

@workspaceHome@@sep@helloworld-lab7@sep@view@sep@first-page.xhtml
@workspaceHome@@sep@helloworld-lab7@sep@view@sep@second-page.xhtml
@workspaceHome@@sep@helloworld-lab7@sep@view@sep@third-page.xhtml

Home | Next