Step 2 Snapping in Your Command Handler

Visual LANSA Framework

Step 2. Snapping in Your Command Handler

Now that you have compiled your new reusable component (i.e.: your Command Handler) and are ready to test it you need to snap it into the Framework.

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 Component property radio button in the Windows group box.

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

 

6.  Close Employee properties. Select the iii HR application and the Employees business object. Click on the Search button to populate the instance list. Then select one item in the instance list to bring up the instance commands.

7.  Your command handler for Details is now snapped into the Framework and usable.

8.   Try making a change to the details of an employee and saving it.