Documentation Archive Developer
Search
PATH  WebObjects 4.0 Documentation > Dynamic Elements

PDF

Dynamic Element Specifications

Dynamic elements serve as the basic building blocks of WebObjects applications by linking an application's scripted or compiled behavior to an HTML page. The linkage can be two-way, in that a dynamic element:

With WebObjects, most pages sent to the user's browser are composed of HTML from a static template combined with HTML that's dynamically generated by dynamic elements embedded (directly, or in the case of reusable components, indirectly) in that template.

Here are the dynamic elements defined in the WebObjects Framework:

WOActionURL
WOActiveImage
WOApplet
WOBody
WOBrowser
WOCheckBox
WOCheckBoxList
WOConditional
WOEmbeddedObject
WOFileUpload
WOForm
WOFrame
WOGenericContainer
WOGenericElement
WOHiddenField
WOHyperlink
WOImage
WOImageButton
WOJavaScript
WONestedList
WOParam
WOPasswordField
WOPopUpButton
WOQuickTime
WORadioButton
WORadioButtonList
WORepetition
WOResetButton
WOResourceURL
WOString
WOSubmitButton
WOSwitchComponent
WOText
WOTextField
WOVBScript

See the WebObjects Developer's Guide for a more complete introduction to Dynamic Elements.


How to Use These Specifications

Each dynamic element specification that follows is divided into two sections: a synopsis and a description. The synopsis is designed to give you ready reference to the element's attributes, showing which ones are mandatory and which ones optional. The description explains the purpose of the element and each of its attributes.

The element synopses use several conventions that you should be aware of, for example:

WOSubmitButton { action=submitForm; value=aString; [disabled=YES|NO;] [name=aName;] ... };


The otherTagString Attribute

All dynamic elements include an optional attribute, otherTagString, Use this attribute to have the bound string included directly in an element's HTML tag. Some HTML elements contain parameters that are not key-value pairs. If you wish to include one of these parameters in your element, you can send it using this attribute.

Copyright © 1998, Apple Computer, Inc. All rights reserved.