Apple WebObjects 3.5 Tools And Techniques Bedienungsanleitung Seite 65

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 88
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 64
Chapter 3 Working With Dynamic Elements
65
In the figure, if you choose the entity CarPackage as the variable’s type, the
following code gets added to your source file:
/** @TypeInfo CarPackage */
protected EnterpriseObject myCarPackage;
The variable myCarPackage is declared as type EnterpriseObject. The comment
/** @TypeInfo CarPackage */ is a structured comment that WebObjects Builder
uses to identify the entity associated with the object. It is then able to display
the attributes in the object browser as shown here:
Configuring the Display Group
A display group must be configured in order for it to be created and initialized
automatically when the component is initialized. Display groups are
instantiated from an archive file (with the extension .
woo) that’s stored in the
component. You shouldn’t edit .
woo files by hand; they’re maintained by
WebObjects Builder.
Choose an entity from the project’s
models to create an enterprise
object based on that entity.
Choose this item to create a
display group object.
The browser displays the
attributes of the entity
(CarPackage).
Seitenansicht 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 87 88

Kommentare zu diesen Handbüchern

Keine Kommentare