Table of Contents
Previous Section
The declarations file, Main.wod, maps the <WEBOBJECT> elements in the Main.html template to methods and variables declared in the WebScript Main.wos:
FORM: WOForm {method="POST";};
NAME_FIELD:WOTextField {
value = aName;
};
LAST_VISITOR:WOString {
value = WOApp.lastVisitor;
};
VISITORS_NUM:WOString {
value = WOApp.visitorNum;
};
SUBMIT_BUTTON:WOSubmitButton {
action = recordMe;
};