Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > WebObjects Developer's Guide


Table of Contents Previous Section

Declarations File Syntax

As you've seen, the .wod file specifies nearly all of the information necessary to create a dynamic element. Because you usually create dynamic elements and their bindings using WebObjects Builder, you normally don't have to worry about the syntax of the .wod file. However, here it is for the curious:

elementName : elementType{attribute =value; attribute =value; ...};
As described in the previous section, value can be a constant, variable, or method. It can also be a string of keys joined by a dot, similar to the Java syntax for sending messages but without the parentheses. For example:

application.upSince.description

Table of Contents Next Section