
In the Customer Details view, you specify the Exit button, which closes the application when the button is clicked. To exit the application, you must exit the view and then you can exit from the application window.
In the Laptop UI explorer, expand the servapp development component.
Expand the nodes
Click CustomerCompWindow with the secondary mouse button and choose .
Choose the Navigation tab.
In the toolbar that appears on the left hand side, choose Create Outbound Plug , and click inside the Navigational Modeler area.
Enter Exit as the name of the plug.
Select Exit as the type, and choose Finish .
In the Laptop UI explorer, expand the Views node and double-click the OrderDetails view.
Choose the Properties tab, and then choose Add .
Select CustomerCompWindow as the required controller, and choose OK .
In the Laptop UI explorer, expand the nodes Local Component Interface .
Click CustomerCompInterfaceView node with the secondary mouse button and choose .
In Outbound Plugs section, choose New .
Enter Exit as the name of the plug.
Select Exit as the type of the plug, and choose Finish .