source: branches/uk_ac_ebi_Tab2MageImporter/jsp/uk/ac/ebi/nugo/plugins/protocols.jsp @ 511

Last change on this file since 511 was 511, checked in by mbayer, 14 years ago
  • have tidied up the interface to the point where it is usable as it is
  • have provided defaults for every field in every form for testing
File size: 2.8 KB
Line 
1<%@ page import="net.sf.basedb.core.*"%>
2<%@ page import="net.sf.basedb.clients.web.*"%>
3<%@ page import="net.sf.basedb.util.*"%>
4<%@ page import="java.util.*"%>
5
6<jsp:useBean id="inputDataBean" class="uk.ac.ebi.nugo.plugins.DataBean" scope="session" />
7<!-- submits the form data back to the bean assuming that each form element is matched to a variable in the bean by the same name -->
8<jsp:setProperty name="inputDataBean" property="*" />
9
10
11<html>
12<head>
13<link rel="stylesheet" type="text/css" href="<%= request.getContextPath()%>/plugins/uk/ac/ebi/nugo/plugins/styles.css" />
14</head>
15<body>
16
17
18<%
19final SessionControl sc = Base.getExistingSessionControl(pageContext, true);
20final String ID = sc.getId();
21final String requestID = request.getParameter("requestId");
22 %>
23
24<form action="<%= request.getContextPath()%>/plugins/uk/ac/ebi/nugo/plugins/hybridizations.jsp" method="post">
25<input type="hidden" name="ID" value="<%=ID%>">
26
27<h2>Tab2MAGE Importer -- Your Protocols</h2>
28Page 2 of 3
29<p>
30<table cellpadding="10">
31
32  <tr>
33    <td class="header">
34    <h3>Protocol name</h3>
35    </td>
36    <td class="header">
37    <h3>Protocol Text</h3>
38    <p>The full text of the protocol.
39    </td>
40    <td class="header">
41    <h3>Parameters</h3>
42    <p>A list of parameters for this protocol, separated by semicolons, in the format 'name(units)'. <br />
43    Each parameter name should be unique within this form.<br />
44    Leave blank if the protocol is unparameterized.</p>
45    </td>
46  </tr>
47
48  <tr>
49    <td class="boldText">Treatment</td>
50    <td class="input"><textarea rows="8" cols="35" id="" name="">my treatment protocol text </textarea></td>
51    <td><textarea rows="4" cols="25" id="" name="">param1</textarea></td>
52  </tr>
53
54  <tr>
55    <td class="boldText">Extraction</td>
56    <td class="input"><textarea rows="8" cols="35" id="" name=""> my extraction protocol text  </textarea></td>
57    <td><textarea rows="4" cols="25" id="" name="">param2</textarea></td>
58  </tr>
59
60  <tr>
61    <td class="boldText">Labeling</td>
62    <td class="input"><textarea rows="8" cols="35" id="" name=""> my labeling protocol text  </textarea></td>
63    <td><textarea rows="4" cols="25" id="" name="">param3</textarea></td>
64  </tr>
65
66  <tr>
67    <td class="boldText">Hybridization</td>
68    <td class="input"><textarea rows="8" cols="35" id="" name="">my hybs protocol text   </textarea></td>
69    <td><textarea rows="4" cols="25" id="" name="">param4</textarea></td>
70  </tr>
71
72  <tr>
73    <td class="boldText">Scanning</td>
74    <td class="input"><textarea rows="8" cols="35" id="" name=""> my scanning protocol text </textarea></td>
75    <td><textarea rows="4" cols="25" id="" name=""> param5</textarea></td>
76  </tr>
77
78</table>
79
80<p>
81<table class="noBorder" width="100%">
82  <tr class="noBorder">
83    <td class="centered"><input type="submit" value="Continue" /></td>
84  </tr>
85</table>
86
87
88
89</form>
90
91</body>
92</html>
93
Note: See TracBrowser for help on using the repository browser.