Figure 5-11, Determining attributes from the entity – Apple WebObjects 5 User Manual
Page 56

56
How Direct to Web Works
Apple Computer, Inc. January 2002
C H A P T E R 5
Direct to Web Applications
Direct to Web template displaying a list page for Movie objects can determine that
it needs to display the title, release date, category, and other attributes for each
movie on the page (
Figure 5-11
Determining attributes from the entity
Direct to Web applications can be configured using a Java applet called the Direct
to Web Assistant. The configuration information is stored as a database of rules.
Rules say something like “if the task page is a list page and the entity is the Movie
entity, do not display the banner.” Each rule has a priority and rules with higher
priority override rules with lower priority. Direct to Web defines a set of default
rules that define the basic application behavior. You can define higher priority rules
Product objects
Server
partNum W4378
color
Red
size
XL
retail
48.99
Product attributes
Name
External type
partNum
VARCHAR2
color
VARCHAR2
size VARCHAR2
retail
NUMBER
Product entity
..........
........
..........
.
..........
........
..........
.