Step 2 Snapping in Your WAM Command Handler

Visual LANSA Framework

Step 2. Snapping in Your WAM Command Handler

Once you have compiled your command handler and are ready to test it you need to snap it into the Framework. To snap in your own command handler:

1.  Display the Framework.

2.  Select the iii HR application and display the properties of the Employees object by double-clicking it.

3.  On the resulting properties dialog, click on the Commands Enabled tab.

4.  Select the Details command.

5.  Click on the WAM property radio button in the Web Browser group box.

      Type the name of your command handler into the entry field.

 

6.  Use the (Framework) menu and select the option Save the Framework. Accept the prompt to upload the Framework and wait while the upload completes.

7.  Use the (Framework) menu and use the option to Execute as Web Application...  Select the default options and press OK.

8.  Select the iii HR application in the web Framework and then the Employees business object. Bring the By Name filter topmost. Type in a partial surname and click Search. Now click on an employee.

9. Your command handler for Details is now snapped in the web Framework and usable.