Adding a context node

Every presentation node, Single Action EJB node, and business process node need a context node that stores the context information.
Note: When you add a CHA context node to a presentation node, you associate the CHA context with the struts-config.xml file for the presentation node.

The following steps describe how to add a context node to a presentation node:

  1. From the Graphical Editor view of the Graphical Builder, select ContextNode under the CompositonNode and then click the presentation node to which you want to add this context node. The context node appears in the Presentation Logic box and a link is generated between the presentation node and the context node.
    Note: If you are adding a context node to a Single Action EJB node or a business process node, you select ContextNode and then click the Single Action EJB node or the business process node respectively.
  2. Double-click the context node. The context Node Dialog box pops up.
  3. Selecting a CHA context for the presentation node:
    • If you already have a CHA context to use with this presentation node, click Browse and locate your .chae file. You can then select a CHA context defined in that file from the CHA ID drop-down list.
    • If you do not have an existing CHA context to use with this presentation node, click the Create button, enter the ID of the CHA that you want to create, and click the OK button to create a CHA context for this node. After the CHA context is created, you can modify the properties of this CHA context with the CHA Editor.
      Note: The CHA Editor starts automatically each time you start the Graphical Builder.
Related information
CHA Editor