Apple WebObjects 5 Instrukcja Użytkownika Strona 40

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 108
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 39
40 A Programmer’s View of WebObjects
Apple Computer, Inc. January 2002
CHAPTER 4
HTML-Based Applications
Some dynamic elements have no HTML counterpart; WORepetition and
WOConditional are examples. Table 4-1 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 <WEBOBJECT...> and </WEBOBJECT...>
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
Przeglądanie stron 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 107 108

Komentarze do niniejszej Instrukcji

Brak uwag