Apple WebObjects 3.5 Manual de usuario Pagina 105

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 120
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 104
Setting Up a Master-Detail Configuration
105
In the Movies application, the master-detail configuration is built around
Movie’s
movieRoles relationship. The configuration is split across two pages in
the application. The master,
movieDisplayGroup, is in the Main component,
while the detail is in MovieDetails.
In this section, you’ll:
Create and configure the detail display group.
Extend the MovieDetails user interface to hold MovieRole and Talent
information.
Creating a Detail Display Group
You can create a detail display group several different ways. You can write a
declaration for it in Project Builder, or you can use WebObjects Builder’s
Add Variable/Method command. But the easiest way to create a detail
display group is by dragging a relationship from EOModeler into your
component, as described below.
1. In EOModeler’s tree view, expand the Movie entity.
2. Drag the Movie’s
movieRoles relationship from the tree view into the
MovieDetails component’s object browser.
Click here to expand or
contract an entity.
means that the entity
is already expanded. Click
the dash to contract the
entity.
means that the entity
can be expanded to
display its relationships.
Click the plus to expand
the entity.
If an entity has neither a
dash nor a plus, the entity
has no relationships, and
therefore can’t be
expanded.
Vista de pagina 104
1 2 ... 100 101 102 103 104 105 106 107 108 109 110 ... 119 120

Comentarios a estos manuales

Sin comentarios