Creating a presentation node

You need to create a presentation node for your application if your application supports Web clients. To create a presentation node, do the following:
  1. From the Graphical Editor view of the Graphical Builder, select Presentation under the CompositonNode and then click anywhere in the Presentation Logic box.
    Note: You probably see an exclamation mark on the presentation node. You can put your cursor on the exclamation mark and see the help information that indicates you need to associate the presentation node with a .gph file.
  2. Double-click the presentation node. The Presentation Node Dialog box pops up.
  3. If you already have a Struts web diagram file ( .gph file), click Browse and locate your .gph file. The .gph file name is displayed. Click OK to close the dialog box.
  4. If you do not have a .gph file yet, create a .gph file for this node:
    1. From the Presentation Node Dialog box, click the Create button.

      Make sure you create the .gph file into a directory under the Websphere Studio Application Developer workspace.

    2. In the pop-up window , enter the name of the .gph file that you want to create.
    3. From the Graphical Editor view, double-click the presentation node you have created to open the web diagram editor.
    4. In the Web Diagram Editor view, design your Struts entities.

    If you already have a .gph file, from the Package Explorer view, you can drag and drop the existing .gph file into the Graphical Editor to create a presentation node.

Note: If your have associated your presentation node with an existing .gph file, you can put your cursor on the presentation node to see the help information. The help information that shows a list of actions indicates your Struts configuration file contains EJB actions or WSIF actions that has not been resolved by the Graphical Builder.