Documentation Archive Developer
Search
PATH Documentation > WebObjects

PreviousNext 

Property-Level Components

Direct to Web uses property-level components to display, query, and edit individual properties of an entity. A property is an attribute or relationship of an entity. Direct to Web defines components for manipulating strings, dates, numbers, to-one relationships, to-many relationships, and other objects. For example, Table 3-5 lists some property-level components; these components work with numbers.


Table 3-5 Number property-level components (java.lang.Number, java.math.BigDecimal)
Display Edit Query
D2WDisplayNumber D2WEditNumber D2WQueryNumberOperator
D2WDisplayStyledNumber   D2WQueryNumberRange
D2WDisplayBoolean D2WEditBoolean D2WQueryBoolean

At runtime when a template displays a property, Direct to Web chooses which property-level component should display the property. The choice depends on the property's data type and how you configure the application with the Web Assistant.


PreviousNext 

© 2001 Apple Computer, Inc.