The Web UI project is populated with many directories and content that belong to the Kendo UI Builder project we created earlier.
The C:\OpenEdge\WRK\OrderEntryWebApp\app\src directory contains custom files for the OpenEdge web app and its contents are picked up automatically when we build a web app in Kendo UI Builder. Do not change any files in any other directories.
Open the \src\modules\order-entry\customer-list\controller.public.js file in the project. This file contains most sample event handlers for the OpenEdge web app. You can see default method stubs for the onShow and onRowSelect events.
Open the \src\modules\order-entry\customer-list\router-events.js file in the project. This file contains primarily the onInit and onHide sample event handlers for the OpenEdge web app. You can see default method stubs for this events.
We now add the following content to the file to add specific functions:
/* The resolve method could return arbitrary data, which will be available in the "viewShowHandler" and "viewHideHandler" handler as the customData argument */
In the Servers view in Developer Studio, expand the oepas1 server instance. The oepas1 server instance displays the republish state. The modifications to the controller.public.js and router-events.js files are published. After some time, you will notice that the app, OrderEntryWebApp, is deployed on the oepas1 server instance.