Entering content frame

This graphic is explained in the accompanying text Window: The View Hierarchy Locate the document in its SAP Library structure

A Structure linkWeb Dynpro window contains a group of Structure linkviews as well as information about how they are linked with each other.

Display in a Tree Structure

The Window tab page of the window editor displays the views that are contained in the window in a tree structure.All of the window’s available inbound and outbound plugs are displayed as subnodes of the root element; the available inbound and outbound plugs of the embedded views correspond to their subnodes. Navigation links from a view to a following view are in turn displayed as subnodes of the corresponding outbound plug.

Embedding a View

You can embed a view in a window in two ways:

·        Open the context menu of the root node of the window structure and then choose Embed view.

·        On the subsequent dialog you can select all available views, that is, all views that are not embedded in the current window of the component, as well as all interface views that are not yet embedded from components for which a component usage was declared. You can use the F4 help.

·        When you confirm the dialog, the view or interface view is inserted in the window structure.

Alternatively, you can also use the drag and drop technique to embed views in a window structure:

·        In the object tree, expand the node Views to the left of the screen.

·        Select a view.

·        Drag and drop it on the root node of your window structure.

·        Let go of the left mouse button to insert the view in the tree.

When you insert a view, its inbound and outbound plugs are displayed as child elements of the view in the window’s hierarchical structure.

This graphic is explained in the accompanying text You can use the context menu for the plug element to branch to the Inbound or Outbound Plugs tab page of the view editor, where you choose Display.

Creating a Navigation Link

·        To create a navigation link between two views, open the context menu of an outbound plug element and choose Create navigation link. The first three lines on the following dialog screen display some administrative data about the view from which the navigation should start.

·        Then enter your intended target view. The F4 help displays all of the views that are available in this window. Selecting the target view automatically specifies your embedding position within the window also.

·        If the target view has only one inbound plug, then this is automatically entered as the inbound plug for this navigation. If the view has several inbound plugs, however, you have to select the required plug here.

The navigation is created when you close this dialog and it appears in the window’s structure as a child element of the outbound plug for which it was set up.

Properties Table of the Window Attribute

You can select each individual element in the window structure by clicking once on the element. The table at the bottom edge of the screen displays the properties of each selected element.

Default View

In a simple application, the sequence of the views in the navigation is often fixed and there is exactly one view with which the navigation within a window is started. In the Default column you can select such a view as the starting point for the navigation in the window.

This graphic is explained in the accompanying text If the start view of a window should not be defined until runtime, this is controlled using the event handler method programming of the window’s inbound plug. If you determine the start view using the Default checkbox at design time, then it is not necessary to process the window's inbound plug.

 

 

Leaving content frame