You define the logical WD view unit with graphical support of the Data Modeler tool. The view layout is designed and implemented in another graphical tool, the View Designer.
● You have created a WD project.
● A WD component with a window definition is available.
1. Open the Window Editor by choosing the context menu entry on the window name in the Web Dynpro Explorer.
2. Choose one of the view options from the panel, for example Embed new View, and follow the wizard.
The new view is graphically displayed in the Window Editor. In the Web Dynpro Explorer, the view is displayed below the subnode Views of your WD component node. The following files were automatically created:
● <myView>.wdview
○ View context XML file for the data flow between the view and the view context. The file contains the following subobjects:
■ View controller reference
■ WD component reference
■ Transparent container for user interface elements
■ User interface element references, including layout data
● <myView>.wdcontroller
○ This controller XML file for the data flow between the view context and the other WD entities has the following parameters:
■ Controller event handler inbound plug
■ Main node Context (value node with cardinality 1:1)
■ Controller reference to the WD component
● <myView>.wdview.xlf
○ The view properties XML file is relevant for translation.
Under no circumstances should you change any of the files listed above. However, you can display the relevant source code in the Navigator view. To open the XML Editor, choose the context menu entry Open With → Text Editor for the corresponding file.