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


   

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.


© 1999 Apple Computer, Inc. – (Last Updated 24 Aug 99)