next up previous
Next: Code inserts
Up: The WOM language
Previous: Plain text and standard HTML inside pages

Built-in classes and the run-time library

For author-defined classes, the emit method is generated by the compiler, as shown above. For built-in classes like TextField, it is defined by the implementor (me). TextField, for example, is specified to emit itself as an HTML data-entry field with size and value defined by its attributes, and with a name determined by its id. Typically, its HTML would look something like this:

<INPUT TYPE=TEXT SIZE=10 NAME="c137.Page.t" VALUE="0">

The WOM language is conceptually very sparse, most of the interesting behaviour lying in these built-ins. These include:


next up previous
Next: Code inserts
Up: The WOM language
Previous: Plain text and standard HTML inside pages



Jocelyn Ireson-Paine
Fri May 30 14:03:06 BST 1997