Ignore:
Timestamp:
Dec 3, 2007, 5:14:11 PM (14 years ago)
Author:
mbayer
Message:
  • 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:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/uk_ac_ebi_Tab2MageImporter/jsp/uk/ac/ebi/nugo/plugins/hybridizations.jsp

    r497 r511  
    44<%@ page import="java.util.*"%>
    55
    6 <jsp:useBean id="inputDataBean" class="uk.ac.ebi.nugo.plugins.DataBean" scope="session"/>
     6<jsp:useBean id="inputDataBean" class="uk.ac.ebi.nugo.plugins.DataBean" scope="session" />
    77<!-- 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="*"/>
     8<jsp:setProperty name="inputDataBean" property="*" />
    99
    1010
    1111<html>
    1212<head>
     13<link rel="stylesheet" type="text/css" href="<%= request.getContextPath()%>/plugins/uk/ac/ebi/nugo/plugins/styles.css" />
    1314</head>
    1415<body>
     16
    1517
    1618<%
     
    2022 %>
    2123
    22 <h2>Tab2MAGE Importer -- Hybridizations Configuration</h2>
    23 
    24 <form action="../../../../../../common/plugin/index.jsp" method="post">
    25 <input type="hidden" name="ID" value="<%=ID%>">
    26 <input type="hidden" name="cmd" value="SetParameters">
    27 <input type="hidden" name="requestID" value="<%=requestID%>">
    28 <input type="hidden" name="parameter:experimentName" value="<%=inputDataBean.getExperimentName()%>">
    29 <input type="hidden" name="parameter:treatmentProtocol" value="<%=inputDataBean.getTreatmentProtocol()%>">
     24<h2>Tab2MAGE Importer -- Your Hybridizations</h2>
     25Page 3 of 3
     26<p>
     27<form action="<%= request.getContextPath()%>/common/plugin/index.jsp" method="post">
     28<input type="hidden" name="ID" value="<%=ID%>"> <input type="hidden" name="cmd" value="SetParameters">
     29  <input type="hidden"name="requestID" value="<%=requestID%>">
     30  <input type="hidden" name="parameter:experimentName" value="<%=inputDataBean.getExperimentName()%>">
     31  <input type="hidden" name="parameter:treatmentProtocol" value="<%=inputDataBean.getTreatmentProtocol()%>">
    3032
    3133<table cellpadding="15">
     34
    3235  <!-- question 1 -->
    3336  <tr style="border-color: #6E94B7;border-style: solid;border-width: 1px">
    34     <td>Please select the microarray platform used in the experiment:</td>
    35     <td><select name="parameter:platform">
    36       <option>Affymetrix</option>
    37       <option selected="selected">Genepix</option>
     37    <td class="boldText">Microarray platform used:</td>
     38    <td class="input"><select name="parameter:platform">
     39    <option >Genepix</option>
     40    <option >Affymetrix</option>
    3841    </select></td>
    3942  </tr>
     43
     44  <!-- question 2 -->
     45  <tr>
     46    <td class="boldText">Name of the experimental organism:</td>
     47    <td class="input"><input type="text" size="60" name="parameter:organism" value="barley"/></td>
     48  </tr>
     49
     50  <!-- question 3 -->
     51  <tr>
     52    <td class="boldText">Number of different arrays designs used:</td>
     53    <td class="input"><input type="text" size="3" name="parameter:numDesigns" value="1"/></td>
     54  </tr>
     55
     56  <!-- question 4 -->
     57  <tr>
     58    <td class="boldText">Was dye-swap used?</td>
     59    <td class="input">yes <input type="radio" name="parameter:dyeswap" value="yes"> no <input type="radio"
     60      name="parameter:dyeswap" value="no" checked="checked"> <br>
     61    </td>
     62  </tr>
     63
     64  <!-- question 5 -->
     65  <tr>
     66    <td class="boldText">Was a reference sample used?</td>
     67    <td class="input">yes <input type="radio" name="parameter:refSample" value="yes" > no <input type="radio"
     68      name="parameter:refSample" value="no" checked="checked"></td>
     69  </tr>
     70
     71  <!-- question 6 -->
     72  <tr>
     73    <td class="boldText">Number of treatments used:</td>
     74    <td class="input"><input type="text" size="3" name="parameter:numTreatments" value="2"/></td>
     75  </tr>
     76
     77  <!-- question 7 -->
     78  <tr>
     79    <td class="boldText">Please list your experimental factors and value ranges using the following format (one per
     80    line):<br>
     81    <i>Factor 1(value1,value2,...valueN)<br>
     82    Factor 2(value1,value2,...valueN)</i>
     83    <p>Example: <i><br>
     84    Compound(aspirin,ibuprofen,acetaminophen) <br>
     85    Dose(control,low,medium,high)</i>
     86    </td>
     87    <td class="input"><textarea rows="7" cols="40" name="parameter:expFactors">Factor 1(value1,value2,...valueN)<br>Factor 2(value1,value2,...valueN)</textarea></td>
     88  </tr>
     89
     90  <!-- question 8 -->
     91  <tr>
     92    <td class="boldText">Number of subjects per group (i.e. number of biological replicates):</td>
     93    <td class="input"><input type="text" size="3" name="parameter:numReplicates" value="3"/></td>
     94  </tr>
    4095 
    41   </table>
     96  <!-- question 9 -->
     97  <tr>
     98    <td class="boldText">List all target tissues (as a comma separated list).<br>
     99    Example: liver,heart,adipose tissue</td>
     100    <td class="input"><textarea rows="2" cols="40" name="parameter:tissues">tissues1,tissue2</textarea></td>
     101  </tr>
     102 
     103  <!-- question 10 -->
     104  <tr>
     105    <td class="boldText">Were samples pooled?</td>
     106    <td class="input">yes <input type="radio" name="parameter:pooling" value="yes"> no <input type="radio"
     107      name="parameter:pooling" value="no" checked="checked"></td>
     108  </tr>
    42109
    43 <input type="submit" value="Continue" />
     110
     111  <!-- file upload -->
     112  <tr>
     113    <td class="boldText">Please select the zip file on your local disk that contains the data files for import:</td>
     114    <td class="input"><INPUT type="file" name="parameter:zipFile" size="50" value="test.txt"></td>
     115  </tr>
     116
     117</table>
     118
     119<p>
     120<table class="noBorder" width="100%">
     121  <tr class="noBorder">
     122    <td class="centered"><input type="submit" value="Run Import" /></td>
     123  </tr>
     124</table>
     125
     126
    44127</form>
    45128
Note: See TracChangeset for help on using the changeset viewer.