WebObjects/Web Applications/Development/WODisplayGroup

From Wikibooks, open books for an open world
(Redirected from Programming:WebObjects/Web Applications/Development/WODisplayGroup)
Jump to navigation Jump to search

A WODisplayGroup is a versatile way of fetching objects from the database and displaying them. Using WODisplayGroups requires very little code and most of the display choices can be wired up in WOBuilder. To get started you simply drag the entity you wish to display from your EOModel into the component where you want to create the WODisplayGroup. Another option is to drag a relationship from your EOModel which will automatically set up a WODisplayGroup with Master/Detail information already set. Another option is to create a DisplayGroup component using the template available to you in XCode under the "Add a new file" option.

Some of the options a WODisplayGroup can provide you are:

  • paginate your results
  • filter your results using queryOperators and pattern matching
  • display Master/Detail pages