Code Tables for the application.
This app simply uses Java enums to implement code tables.
Startup
Upon startup, this application's implementation of {@link hirondelle.web4j.StartupTasks} will call
{@link hirondelle.web4jtools.codegenerator.codes.Enumerations#init(javax.servlet.ServletContext)} to place all needed
enums in application scope under specific keys.
HTML Forms
The code tables fetched during startup are referenced directly in HTML forms, as application scope objects.
Here is an example which references a code table named 'FieldTypes' :
<select name="Type" title='Java data type'>
<option> </option>
<c:forEach var="item" items="${FieldType}">
<option value="${item}">${item}</option>
</c:forEach>
</select>
Since no database is used in this app, these code tables exists in memory only.