Chapter 6 Generating Persistent Objects for Java and JSF Pages


Generating PageFlow Diagrams

In Java Server Faces, a configuration (xml) file is used to define navigation rules between different web pages, which is called PageFlow. Power Designer will provide a high level PageFlow diagram to abstract different kinds of definition, and can generate navigation rules for JSF web application and JSF page bean based on PageFlow diagram.

You can Generate PageFlow Diagram diagram in three levels, Model, Package and Class. Next description will use the following example.


Steps To generate a class level PageFlow diagram:

  1. Select one class in the ClassDiagram, e.g., Customer. Right click and select the context menu "Generate PageFlow Diagram".
  2. A new PageFlow will be automatically generated, e.g., CustomerPageFlow.


Steps To generate a package level PageFlow diagram:

  1. Select one package, e.g., "Orders". Right click it and select the context menu "Generate PageFlow Diagram".
  2. The PageFlow will be generated for each class under this package and its sub packages recursively, e.g., CustomerPageFlow, OrdersPageFlow, ProductPageFlow, OrderLinePageFlow.

Steps To generate a model level PageFlow diagram:

  1. Right click on the model, e.g., "JSF", and select the context menu "Generate PageFlow Diagram".
  2. A model level PageFlow will be generated, e.g., "JSFPageFlow" automatically. At the same time, the PageFlow will be generated for each class under this package and its sub packages recursively, e.g., CustomerPageFlow, OrdersPageFlow, ProductPageFlow, OrderLinePageFlow.


 


Copyright (C) 2008. Sybase Inc. All rights reserved.