debuggers.hg

view tools/control/web/tmpl/dom-delr.tmpl @ 623:e5cb8bd7ebfe

bitkeeper revision 1.325 (3f0d278fx62UemAA1unbHTgIGvOJ4Q)

Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/rac61/xeno.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/sos22/xeno.bk
author sos22@labyrinth.cl.cam.ac.uk
date Thu Jul 10 08:45:03 2003 +0000 (2003-07-10)
parents 858e1659fdcb bd90bd0c8b23
children
line source
1 Delete Domain
2 SECTION&XenoServers
3 BREADCRUMB&Domain Manager&dom.jsp
5 <!-- content -->
6 <img src="pixel.gif" class="block" width="1" height="12">
8 <table cellpadding="0" cellspacing="0" border="0">
9 <tbody>
10 INCLUDE&dommenu.tmpl
11 <td valign="top">
14 <b>Delete Domain Results</b>
15 <br>
17 <%
18 HttpServletRequestWrapper hsrw = new HttpServletRequestWrapper(request);
19 Defaults d = sc.getDefaults();
21 String domains[] = hsrw.getParameterValues("dom");
22 boolean force = hsrw.getParameter("force").equals("true");
24 if (domains == null || domains.length == 0)
25 {
26 %>
27 Error: no domain specified.<br>
28 <%
29 }
30 else
31 {
32 for (int i = 0; i < domains.length; i++)
33 {
34 %>
35 result <%= domains[i] %> =
36 <%= new CommandDomainDestroy(d, Integer.parseInt(domains[i]),
37 force).executeWeb() %> <br>
38 <%
39 }
40 }
41 %>
43 </td>
44 </tbody>
45 </table>
50 <!-- end content -->