The following is a copy of the TMWorkItemTemplate.html file:
<html>
<TM_WORKITEMVIEWER_VERSION>2.0</TM_WORKITEMVIEWER_VERSION>
<head>
<title>TaskManager</title>
<TM_WORKITEMVIEWER_SCRIPT>
</TM_WORKITEMVIEWER_SCRIPT>
<USER_WORKITEMVIEWER_SCRIPT>
<script language="JavaScript">
<!--
// Intercept the return key event. If you need to process
// this event you should make sure the function kpress
// always returns a false value.
if (document.layers) document.captureEvents(Event.KEYPRESS);
document.onkeypress=kpress;
function kpress(evt)
{
key=(document.layers)?evt.which:window.event.keyCode;
if(document.layers && key==13)
return false;
else if (key==13 &&
window.event.srcElement.type=="text")
return false;
}
function validateForm(action)
{
var passedValidation = true;
if (passedValidation == true)
return true;
else
return false;
}
//-->
</script>
</USER_WORKITEMVIEWER_SCRIPT>
</head>
<body>
<TM_WIV_HEADER>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr><td align="left" valign="top" bgcolor="#383B70"><center><font size="5" color="#ffffff">
Work Item: <i>Work Item Name</i> | Priority: <i>Priority Name</i></font></center></td></tr></table>
</TM_WIV_HEADER>
<form name="WorkItemForm" action="DefaultWorkItemServlet" method="DefaultMethod" >
<USER_WORKITEM_AREA>
</USER_WORKITEM_AREA>
<br/>
<TM_WIV_BUTTONS>
<hr align="left"/>
<center><table><tr>
<td><input type="submit" name="action" value="SEND">
</input></td>
<td><input type="submit" name="action" value="SAVE">
</input></td>
<td><input type="submit" name="action" value="CANCEL">
</input></ td>
</tr></table></center>
</TM_WIV_BUTTONS>
</form>
</body>
</html>