source: branches/uk_ac_ebi_Tab2MageImporter/jsp/uk/ac/ebi/nugo/plugins/experiment.jsp @ 497

Last change on this file since 497 was 497, checked in by mbayer, 14 years ago
  • various specification related documents added (from Philippe)
  • have modified the structure of the extension -- now uses 3 separate JSP pages to collect data from user, one per tab2mage section, and data from these is stored in a data bean in the background and then retrieved in the last page
File size: 1.0 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</head>
14<body>
15
16<%
17final SessionControl sc = Base.getExistingSessionControl(pageContext, true);
18final String ID = sc.getId();
19final String requestID = request.getParameter("requestId");
20 %>
21
22<h2>Tab2MAGE Importer -- Experiment Configuration</h2>
23
24<form action="../../plugins/uk/ac/ebi/nugo/plugins/protocols.jsp" method="post">
25<input type="hidden" name="ID" value="<%=ID%>"> 
26
27Please enter the name of your experiment:<br>
28<input type="text" size="30" name="experimentName" value="my first Experiment" />
29
30<input type="submit" value="Continue" />
31</form>
32
33</body>
34</html>
35
36
Note: See TracBrowser for help on using the repository browser.