Show TOC

Step 8: Defining NavigationLocate this document in the navigation structure

Context

When you designed the two views, you created an inbound and an outbound plug for your views. You have already bound the button actions to the relevant outbound plug.

You must now determine to which inbound plug an outbound plug binds itself when it is called. This navigation is also declared in the view hierarchy of the respective window. You are still in the view of the structure of your MYCOMPONENT window.

Procedure

  1. Open the STARTVIEW node in the structure of your window.

    Below this node you will find two additional nodes, one for each plug in this view.

  2. Open the context menu of the out1 outbound plug and choose Create Navigation Link .

    Specify the required target view (you can use the input help for all the views that are available in this window).

  3. Select the RESULTVIEW by double-clicking on it and confirm the dialog.

    After you have selected the target view, the only inbound plug in2 that is available for this view was automatically selected for the navigation. If a view has several inbound plugs, you will have to make another selection here.

  4. Choose Save .

    The navigation you have just created appears in the structure of the window as an additional subnode below the node of the out1 outbound plug of the STARTVIEW .

  5. Now open the RESULTVIEW node and repeat the whole operation to create a navigation link from the out2 outbound plug of the second view to the in1 inbound plug of the first view.

Results

All necessary actions for creating the views and their navigation are complete.

Step 9: Creating and Testing an Application