ObjectExtender User's Guide and Reference

Listing departments

Create a new (visual) part for the TstUniversityViews application called TstDepartmentView.

Open the Composition Editor on TstDepartmentView. To display the departments, you will need to add a List part and a home collection part as follows:

  1. Select the Lists category from the left column of the parts palette, and then select the List part from the right column of the parts palette and drop it in the Window part on the free-form surface.
  2. Select Add Part from the Options menu, and type the class name, TstDepartmentHome.
  3. Connect the TstDepartmentHome attribute allInstances to the items attribute of the List part.

    This connection specifies that all department instances will display in the list.


Figure pgs1homc not displayed.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]