NewExpWizardController.redirectToExpStage(expBean.getID(), 3);
return "success";
}
//get the information from the ontology tree bean
PropertyDnDTreeBean treeBean = expBean.getOntologyDnDBean();
if(treeBean==null){
// ontology tree bean has not been set
log.error("ontology tree bean not set");
NewExpWizardController.redirectToExpStage(expBean.getID(), 3);
return "success";
}
//the bean's manual observables
HashMap<String, List<MeasurementImpl>> props = exptype.getManualObservables();
//now iterate over all added properties
Map<String,HashMap<String,String>> stagePropsSel = treeBean.getStageSelectedState();
List<OntologyProperty> selProps = treeBean.getSelectedOntologyProperties();
try {
for(ExperimentStageBean stageb : exptype.getStageBeans()){
for(OntologyProperty prop : selProps){
String pURI = prop.getURI();