Apple WebObjects 3.5 Manual de usuario Pagina 86

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 120
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 85
Chapter 3 Creating a WebObjects Database Application
86
Specifying a Sort Order
You can change your application to sort movies alphabetically without writing
any code. Display groups manage sorting behavior, and WebObjects Builder
provides a Display Group Options panel for configuring this and other
characteristics of display groups.
1. Double-click the
movieDisplayGroup variable in the object browser.
The Display Group Options panel opens for configuring
movieDisplayGroup.
2. Select the
title attribute in the Sorting pop-up list.
3. Select Ascending.
4. Click OK.
WebObjects Builder stores your settings in an archive that specifies how to
create and configure
movieDisplayGroup at run time. The archive is stored inside your
Main component in a file named
Main.woo. You can’t see the file from Project
Builder because you’re not meant to edit it directly, but WebObjects Builder’s
object browser shows you which of your component’s variables are initialized
from the archive (or
woo file) so you don’t have to view its contents directly.
Choose an attribute to sort on.
Select this option to sort from ‘A’ to ‘Z’.
Vista de pagina 85
1 2 ... 81 82 83 84 85 86 87 88 89 90 91 ... 119 120

Comentarios a estos manuales

Sin comentarios