Connecting Up the Select Bean

The database query has been set up. The last step is to connect the visual and nonvisual components of the StaffList composite.

  1. Connect the this property of Select1 to the model property of the DBNavigator bean:
    Select1-to-DBNavigator connection
  2. Connect the STAFF.NAME_String property of Select1 to the text property of NameTF. Two features by the name of STAFF.NAME_String exist; be sure to select the property.
  3. Connect the STAFF.JOB_String property of Select1 to the text property of PositionTF. Two features by the name of STAFF.JOB_String exist; be sure to select the property.

The finished connections should look like this:
Finished connections for StaffList composite

You are now ready to test the application. Make sure to save your work.