ExpTypeExecutablePP eTypeExecPP = (ExpTypeExecutablePP)ExpTypeBackingBean.getExpTypeBean(AdminManagerImpl.EXECUTABLEPP);
eTypeExecPP.reInitBeanForWFXMLConfigUploaded();
//0) upload the specified WFconfig to the user's personal repository for storing it
log.info("commandUploadWfXMLConfigFile: uploading an xml configuration for a WEE WF.");
FileUploadBean uploadBean = UploadManager.uploadFile(true);
if( uploadBean == null ) {
log.warn("commandUploadWfXMLConfigFile: Uploaded file was null.");
NewExpWizardController.redirectToExpStage(expBean.getID(), 2);
return "success";
}
String fileRef = uploadBean.getUniqueFileName();
log.debug("Uploaded file: uniqueFileName: "+fileRef);
eTypeExecPP.setXMLConfigFileProvided(true);
//1) Check the configuration and parse the WorkflowConfig object