There can be .w files in an OpenEdge project that are not created using the GUI Designer or standalone AppBuilder. Such .w files do not open with the GUI Designer editor, instead open with only the ABL Text editor.
Opening .w files
Open .w files by using one of the following methods:
Editing .w files
A .w file opened in the AppBuilder is displayed graphically in the GUI Designer design canvas. In addition, the code within the .w file is displayed below the design canvas in the GUI Designer editor. The editor allows full editing of the .w file. The textual and graphical views of the .w file are synchronized. A change in one view causes a change in the other view.
Synchronization is not performed immediately. The synchronization is performed when:
It is possible that an analyzer error or a syntax error in the ABL Editor might make synchronization with the AppBuilder impossible. In this case, the window corresponding to the .w file in the AppBuilder closes. It is no longer valid, and cannot be modified. However, you can still use the ABL Editor to edit the .w file.
Once the file in the ABL Code Editor is updated, and synchronization takes place, the AppBuilder tries to load the .w file and the window opens if there are no errors.
Saving .w files
You can save a file opened in the AppBuilder by selecting AppBuilder menu bar. If the file is part of a project, the Save and Save As operations map to the Save and Save As options in Progress Developer Studio for OpenEdge . You can also use the Save and Save As options directly from within Progress Developer Studio.from the
If a file opened in the AppBuilder is not a project file, the Save and Save As options can be used to save the file into the project directory.
Running a .w file
You can run a .w file by clicking the Run button on the AppBuilder main window or on the Progress Developer Studio for OpenEdge toolbar.
When you use the AppBuilder Run button, AppBuilder runs whatever file has focus in the design window. It runs the file just as you see it in the design window, even if the file has not been saved.
When you select Run from the Progress Developer Studio for OpenEdge toolbar, Progress Developer Studio runs the last saved version of whatever file has focus in the code editor. To run a file from the Progress Developer Studio toolbar that was changed in the design window, you have to save the file in the code editor.
Closing .w files
A project file opened in the AppBuilder can be closed either from the AppBuilder or from the ABL Editor.