<%@ page import="net.sf.basedb.core.*"%> <%@ page import="net.sf.basedb.clients.web.*"%> <%@ page import="net.sf.basedb.util.*"%> <%@ page import="java.util.*"%> <%@ page import="java.lang.*"%> <% final SessionControl sc = Base.getExistingSessionControl(pageContext, true); final String ID = sc.getId(); final String requestId = request.getParameter("requestId"); //here we also need to deal with the multiple select inputs from the previous page //their selected values need to be extracted from the request and concatenated into a single String //first deal with quality control input String[] items = request.getParameterValues("qualityControl"); StringBuilder qualControl = new StringBuilder(); for(int i = 0; i< items.length; i++) { qualControl.append(items[i] ); //last one does not get a comma if(i!=items.length-1) { qualControl.append(","); } } //store this in the bean inputDataBean.setQualityControl(qualControl.toString()); //next deal with the experiment design type //this is slightly more complex as we are dealing with six separate list boxes and we need to combine all their inputs StringBuilder experimentalDesign = new StringBuilder(); String [] biologicalPropertyItems = request.getParameterValues("biologicalProperty"); if(biologicalPropertyItems !=null) { for(int i = 0; i< biologicalPropertyItems.length; i++) { experimentalDesign.append(biologicalPropertyItems[i] +","); } } String [] bioMolecularAnnotationItems = request.getParameterValues("bioMolecularAnnotation"); if(bioMolecularAnnotationItems !=null) { for(int i = 0; i

Tab2MAGE Import Wizard -- Your Protocols

Protocol name

Protocol Text

The full text of the protocol.

Parameters

A list of parameters for this protocol, separated by semicolons, in the format 'name(units)'. Each parameter name must be unique within this form.

Leave blank if the protocol is unparameterized.

Treatment
Extraction
Labeling
Hybridization
Scanning

Next
Cancel