Documentation Archive Developer
Search
PATH  WebObjects 4.0 Documentation > Getting Started With WebObjects

Table of Contents Previous Section

Bindings in the Query Part

In the query part of the component, movieDisplayGroup.queryMatch.title is bound to the Title text field. There are similar bindings to the Category text fields. The queryMatch bindings allow users to specify search criteria to use when movieDisplayGroup next fetches movies. The Match button is bound to movieDisplayGroup.qualifyDataSource, which actually performs the fetch.

For example, to display all comedies, a user types "Comedy" in the Category text field, and clicks the Match button. movieDisplayGroup then refetches, selecting only movies whose category values are set to Comedy.

Table of Contents Next Section