
Using Object messages
If you want to see the content of the messages object (see also
Object messages), you can first display a simple table containing the messages. Insert the following code to the body of page default.htm :<%-- if there are messages, we want to display them in a table --%>
<% if page->messages->num_messages( ) > 0. %>
<h2 class="bspH2" style="background-color:red">The following errors occurred</h2>
<table class="bspTbvStd">
<tr class="bspTbvHdrStd">
<th class="bspTbvHdrStd">Index</th>
<th class="bspTbvHdrStd">Condition</th>
<th class="bspTbvHdrStd">Text</th>
<th class="bspTbvHdrStd">Seriousness</th>
</tr>
<%
data:
If you then test by using incorrect entries (for example, enter
47 as the time), you can see the error message(s).Please note the following: