Improve output: distinguish between failed assertions (failures) and unexpected exceptions (errors), and print a filtered stack trace for any exception.
This commit is contained in:
commit
4f2e303079
1839 changed files with 235630 additions and 0 deletions
58
webapp/web/templates/edit/specific/classgroups_edit.jsp
Normal file
58
webapp/web/templates/edit/specific/classgroups_edit.jsp
Normal file
|
@ -0,0 +1,58 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%
|
||||
int DEFAULT_PORTAL_ID=1;
|
||||
String portalIdStr=(portalIdStr=(String)request.getAttribute("home"))==null ?
|
||||
((portalIdStr=request.getParameter("home"))==null?String.valueOf(DEFAULT_PORTAL_ID):portalIdStr):portalIdStr;
|
||||
%>
|
||||
|
||||
<div class="editingForm"/>
|
||||
|
||||
<jsp:include page="/templates/edit/fetch/vertical.jsp"/>
|
||||
|
||||
<hr/>
|
||||
<p/>
|
||||
<div align="center">
|
||||
<table class="form-background" border="0" cellpadding="2" cellspacing="2">
|
||||
<tr valign="bottom" align="center">
|
||||
<td>
|
||||
<form action="fetch" method="get">
|
||||
<input type="submit" class="form-button" value="display this class group's record"/>
|
||||
<input type="hidden" name="home" value="<%=portalIdStr%>" />
|
||||
<input type="hidden" name="queryspec" value="private_classgroup"/>
|
||||
<input type="hidden" name="header" value="titleonly"/>
|
||||
<input type="hidden" name="linkwhere" value="classgroups.id=<%=request.getAttribute("firstvalue")%>"/>
|
||||
</form>
|
||||
<form action="fetch" method="get">
|
||||
<input type="submit" class="form-button" value="see all class groups"/>
|
||||
<input type="hidden" name="home" value="<%=portalIdStr%>" />
|
||||
<input type="hidden" name="queryspec" value="private_classgroups"/>
|
||||
<input type="hidden" name="header" value="titleonly"/>
|
||||
</form>
|
||||
</td>
|
||||
<td valign="bottom" align="center">
|
||||
<form action="editForm" method="get">
|
||||
<input name="id" type = "hidden" value="<%=request.getAttribute("firstvalue")%>" />
|
||||
<input type="submit" class="form-button" value="edit class group <%=request.getAttribute("firstvalue")%>"/>
|
||||
<input type="hidden" name="home" value="<%=portalIdStr%>" />
|
||||
<input type="hidden" name="controller" value="Classgroup"/>
|
||||
</form>
|
||||
</td>
|
||||
<td valign="bottom">
|
||||
<form action="editForm" method="get">
|
||||
<input type="hidden" name="home" value="<%=portalIdStr%>" />
|
||||
<input type="hidden" name="controller" value="Classgroup"/>
|
||||
<input type="submit" class="form-button" value="add new class group"/>
|
||||
</form>
|
||||
<form action="editForm" method="get">
|
||||
<input type="hidden" name="home" value="<%=portalIdStr%>" />
|
||||
<input type="hidden" name="controller" value="Vclass"/>
|
||||
<input type="hidden" name="GroupId" value="<%=request.getAttribute("firstvalue")%>"/>
|
||||
<input type="submit" class="form-button" value="add new class to this group"/>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="3"><hr/></td></tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue