[539] | 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 | final SessionControl sc = Base.getExistingSessionControl(pageContext, true); |
---|
| 12 | final String ID = sc.getId(); |
---|
| 13 | final String requestId = request.getParameter("requestId"); |
---|
| 14 | %> |
---|
| 15 | |
---|
| 16 | <html> |
---|
| 17 | <head> |
---|
| 18 | |
---|
| 19 | <link rel="stylesheet" type="text/css" href="<%= request.getContextPath()%>/plugins/uk/ac/ebi/nugo/plugins/styles.css" /> |
---|
| 20 | <link rel="stylesheet" type="text/css" href="/base/include/styles/main.css"> |
---|
| 21 | <link rel="stylesheet" type="text/css" href="/base/include/styles/size_m.css"> |
---|
| 22 | |
---|
| 23 | <script language="JavaScript" src="<%= request.getContextPath()%>/include/scripts/main.js" type="text/javascript"></script> |
---|
| 24 | <script language="JavaScript" type="text/javascript"> |
---|
| 25 | |
---|
| 26 | //submits form |
---|
| 27 | function submit() |
---|
| 28 | { |
---|
| 29 | document.spreadSheetMappings.submit(); |
---|
| 30 | } |
---|
| 31 | |
---|
| 32 | </script> |
---|
| 33 | |
---|
| 34 | </head> |
---|
| 35 | <body> |
---|
| 36 | |
---|
| 37 | <h1>Tab2MAGE Import Wizard -- Enter Spreadsheet Data for Mappings</h1> |
---|
| 38 | |
---|
[543] | 39 | <form id="spreadSheetMappings" name="spreadSheetMappings" action="<%= request.getContextPath()%>/plugins/uk/ac/ebi/nugo/plugins/submit.jsp?ID=<%=ID%>"> |
---|
[539] | 40 | |
---|
| 41 | <input type="hidden" name="ID" value="<%=ID%>"> <input type="hidden" name="cmd" value="SetParameters"> |
---|
| 42 | <input type="hidden"name="requestId" value="<%=requestId%>"> |
---|
| 43 | |
---|
| 44 | <p> |
---|
| 45 | <ul> |
---|
| 46 | <li>Please provide your mappings between file names, samples and factor value combinations by pasting a block of data copied |
---|
| 47 | from a spreadsheet program (e.g. Excel etc.) into the text box below. |
---|
| 48 | <p> |
---|
| 49 | <li>It is assumed that the columns are tab separated. Please make sure that your spreadsheet program supports this. |
---|
| 50 | <p> |
---|
| 51 | <li>Columns must be in the order as below and the column headers must be exactly as follows (please replace 'myFactorName1' etc. with your actual factor names):<p> |
---|
| 52 | <b> |
---|
| 53 | File Sample FactorValue[myFactorName1] FactorValue[myFactorName2] etc.... |
---|
| 54 | </b></p> |
---|
| 55 | </ul> |
---|
| 56 | </p> |
---|
| 57 | <hr/> |
---|
| 58 | <p align="center"><h3>Your Mappings:</h3></p> |
---|
| 59 | <p align="center"><textarea cols="90" rows="30">Paste your mappings here.....</textarea></p> |
---|
| 60 | |
---|
| 61 | </form> |
---|
| 62 | |
---|
| 63 | <table align="center" class="noBorder" cellspacing="5" cellpadding="5"> |
---|
| 64 | <tr class="noBorder"> |
---|
| 65 | <td id="next" width="50%" style="border-style: none;"><div class="buttons" onmouseover="this.className='buttons_hover';" onmouseout="this.className='buttons';" onclick="submit()"><div class="buttons_inner"><table class="noBorder" cellspacing="0" cellpadding="0"><tr class="noBorder"><td style="border-style: none;"><img src="/base/images/gonext.gif" border="0"></td><td style="border-style: none;">Submit</td></tr></table></div></div></td> |
---|
| 66 | <td id="close" width="50%" style="border-style: none;"><div class="buttons" onmouseover="this.className='buttons_hover';" onmouseout="this.className='buttons';" onclick="window.close()"><div class="buttons_inner"><table class="noBorder" cellspacing="0" cellpadding="0"><tr class="noBorder"><td style="border-style: none;"><img src="/base/images/cancel.gif" border="0"></td><td style="border-style: none;">Cancel</td></tr></table></div></div></td> </tr> |
---|
| 67 | </table> |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | </body> |
---|
| 71 | </html> |
---|