Show TOC

View EditorLocate this document in the navigation structure

Use

The View Editor, which is integrated in the Workbench, is a powerful tool for creating and editing views (the central modules of a Web Dynpro application).

A view has both a graphical layout and a controller with a context, attributes, methods and actions. Views also have inbound and outbound plugs with which the navigation from one view to the next (or even to an interface view) can be defined.

Properties

You can specify the lifetime of the view on the Attributes tab page.

Values

Description

Framework Controlled

Default Value.

The view data is available until the calling component is left.

when visible

The view data is available as long as the view is displayed in the browser.

Note

When specifying the lifetime, also be aware of the performance aspects (see Checklist for High-Performance WDA Programming).

If, in the controller of your view, you want to use the functions of a different controller, first of all you have to define a controller usage on the Properties tab page. To do this, choose Create and then choose a controller from the list by double-clicking it. This list displays all available controllers, that is, all component-owned, cross-view controller and all interface controllers of the components for which a component usage was declared. Choose Delete to remove the controller usage from the table again.

Note

For each view, when it is created the usage of the component controller is always entered automatically, as this is almost always required.