Java Reference
In-Depth Information
while ((process # procs.get_next_object())! # null ){
%>
<!-- ..show name (and key),.. -->
<tr > <td > <b> <% # process.name() %> </b> ( <%t # process.key() %> )
<!-- state,.. -->
<td > <% # process.state() %>
<!-- description,..-->
<td > <i><% # process.description() %></i>
<!-- link to detail page,.. -->
<td > <form action # "Process.jsp" method # "POST">
<input type # hidden name # "process"
value # " <% # process.key() %> ">
<input type # "submit" value # "View">
</form><%
} %>
</table>
<hr>
<!-- shows the catalog of process definitions -->
<h2> Process Catalog </h2>
<form action # "Instantiate.jsp" method # "post">
<select name # "process"> <%
Iterator defs # cat.getAll().iterator();
while (defs.hasNext()){
WfProcessMgr mgr # (WfProcessMgr)defs.next();
%> <option> <% # mgr.name() %> <%
} %>
</select>
<input type # "submit" value # "Start">
</form>
<hr>
<a href # "Logout.jsp">Log out </a>
<hr>
<% } catch (WfBase.BaseException e){ %>
<h1> Error </h1>
<pre> <% # e.toString() %> </pre>
<% } %>
</body></html>
21.6.4
Test
It is possible to test the functionalities of the web interface performing the
same operations in the test of the underlying workflow engine. The steps are:
Log in as the professor.
Start the test process.
Perform the Define exercise activity.
 
Search WWH ::




Custom Search