Table of Contents
Previous Section
Main.html is the HTML template used to generate the first page (and in this application, the only) page of the Visitors application. Wherever a <WEBOBJECT> tag appears, a WODynamicElement is substituted when you run the application:
<HTML>
<HEAD>
<TITLE>Visitors</TITLE>
</HEAD>
<BODY>
<H1>Visitors</H1>
<HR>
To record your visit, please enter your name below.
<WEBOBJECT NAME="FORM">
<WEBOBJECT NAME = "NAME_FIELD"></WEBOBJECT>
<P>
<WEBOBJECT NAME = "SUBMIT_BUTTON"></WEBOBJECT><P>
</WEBOBJECT>
<HR>
<P>
Number of visitors to this page:
<B><WEBOBJECT NAME = "VISITORS_NUM"></WEBOBJECT></B>
<P>
Most recent visitor:
<B><WEBOBJECT NAME = "LAST_VISITOR"></WEBOBJECT></B>
</BODY>
</HTML>