background image
C H A P T E R 3
Views
About Views
3-3
Figure 3-1 shows a collection of template frames that might make up an application.
The frame at the top represents the highest-level parent template. Each template
that has children contains a
viewChildren
(or
stepChildren
) slot whose
value is an array of references to its child templates.
Figure 3-1
Template hierarchy
Arrows indicate
a reference to objects
Child Template
{Slot:
data
Slot:
data
.
.
.
}
Child Template
{Slot:
data
Slot:
data
.
.
.
}
Child Template
{Slot:
data
Slot:
data
.
.
.
}
Child Template
{Slot:
data
Slot:
data
.
.
.
viewChildren:
[
frameRef, frameRef]
}
Parent Template
{Slot:
data
Slot:
data
.
.
.
viewChildren:
[
frameRef, frameRef]
}
© 2007-2017, o7 studio » при воспроизведении материала сайта ссылка обязательна