Ignore:
Timestamp:
Jan 23, 2008, 3:21:52 PM (13 years ago)
Author:
mbayer
Message:

have restructured the code completely that writes the hybs section

File:
1 edited

Legend:

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

    r548 r550  
    4141  if(document.getElementById("legacyDataNo").checked)
    4242  {
    43     form.action="<%= request.getContextPath()%>/plugins/uk/ac/ebi/nugo/plugins/autogenerate.jsp?ID=<%=ID%>";
     43    var platform = '<%=inputDataBean.getPlatform()%>';
     44    var refSample = '<%=inputDataBean.getRefSample()%>';
     45    //two channel experiment without reference sample -- we need more info first, go to autogenerate.jsp
     46    if((platform != 'Affymetrix') && refSample == 'no')
     47    {
     48      form.action="<%= request.getContextPath()%>/plugins/uk/ac/ebi/nugo/plugins/autogenerate.jsp?ID=<%=ID%>";
     49    }
     50    //single channel experiments and two channel experiment with reference sample - no extra info needed, proceed straight to submit page
     51    else
     52    {
     53      form.action="<%= request.getContextPath()%>/plugins/uk/ac/ebi/nugo/plugins/submit.jsp?ID=<%=ID%>";
     54    }
    4455  }
     56 
    4557
    4658  //submit the form
     
    5365<body>
    5466
    55 <h1>Tab2MAGE Import Wizard -- Choose Data Mode</h1>
     67<h2>Tab2MAGE Import Wizard -- Choose Data Mode</h2>
    5668<p>
    5769
Note: See TracChangeset for help on using the changeset viewer.