Reusing components, Table 4-1, Example dynamic elements – Apple WebObjects 5 User Manual
Page 40

40
A Programmer’s View of WebObjects
Apple Computer, Inc. January 2002
C H A P T E R 4
HTML-Based Applications
Some dynamic elements have no HTML counterpart; WORepetition and
WOConditional are examples.
lists some of the more commonly used
dynamic elements.
Reusing Components
You can embed a component within another component. For example, a component
might represent only the header or footer of a page; you can nest it inside of a
component that represents the rest of the page. A component designed to be nested
within another component is called a reusable component, shared component, or
Table 4-1
Example Dynamic Elements
Element Name
Description
WOBrowser
selection list that displays multiple items at a time
WOCheckBox
checkbox user interface control
WOConditional
determines whether a portion of the component (or Web
page) is generated
WOForm
container element that generates a fill-in form
WOHyperlink
generates a hypertext link
WOImage
displays an image
WORadioButton
represents a toggle switch
WORepetition
container element that repeats its contents (that is,
everything between the
and
tags in the template file) a given number of times
WOResetButton
button that clears a form
WOString
dynamically generated string
WOSubmitButton submit button
WOText
multiline field for text input and display
WOTextField
single-line field for text input and display