@@ -0,0 +1,2239 @@
+/*%0D%0A * Created on Jul 14, 2006%0D%0A *%0D%0A * TODO To change the template for this generated file go to%0D%0A * Window - Preferences - Java - Code Style - Code Templates%0D%0A */%0D%0Apackage edu.wustl.catissuecore.action;%0D%0A%0D%0Aimport java.util.List;%0D%0A%0D%0Aimport javax.servlet.http.HttpServletRequest;%0D%0Aimport javax.servlet.http.HttpServletResponse;%0D%0A%0D%0Aimport org.apache.struts.action.Action;%0D%0Aimport org.apache.struts.action.ActionForm;%0D%0Aimport org.apache.struts.action.ActionForward;%0D%0Aimport org.apache.struts.action.ActionMapping;%0D%0A%0D%0Aimport edu.wustl.catissuecore.util.global.Constants;%0D%0Aimport edu.wustl.common.cde.CDEManager;%0D%0Aimport edu.wustl.common.util.logger.Logger;%0D%0A%0D%0A%0D%0A/**%0D%0A * @author gautam_shetty%0D%0A *%0D%0A * TODO To change the template for this generated type comment go to%0D%0A * Window - Preferences - Java - Code Style - Code Templates%0D%0A */%0D%0Apublic class SpecimenArrayTypeAction extends Action%0D%0A%7B%0D%0A    /* (non-Javadoc)%0D%0A     * @see org.apache.struts.action.Action#execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)%0D%0A     */%0D%0A    public ActionForward execute(ActionMapping mapping, ActionForm form,%0D%0A            HttpServletRequest request, HttpServletResponse response) throws Exception%0D%0A    %7B%0D%0A        String operation = request.getParameter(Constants.OPERATION);%0D%0A        request.setAttribute(Constants.OPERATION, operation);%0D%0A        %0D%0A        //Setting the specimen class list%0D%0A        List specimenClassList = CDEManager.getCDEManager().getPermissibleValueList(Constants.CDE_NAME_SPECIMEN_CLASS,null);%0D%0A    %09request.setAttribute(Constants.SPECIMEN_CLASS_LIST, specimenClassList);%0D%0A    %09%0D%0A    %09//Setting the specimen type list%0D%0A    %09List specimenTypeList = CDEManager.getCDEManager().getPermissibleValueList(Constants.CDE_NAME_SPECIMEN_TYPE,null);%0D%0A    %09request.setAttribute(Constants.SPECIMEN_TYPE_LIST, specimenTypeList);%0D%0A    %09%0D%0A%09%09String strMenu = request.getParameter(Constants.MENU_SELECTED);%0D%0A%09%09if(strMenu != null) %7B%0D%0A%09%09%09request.setAttribute(Constants.MENU_SELECTED ,strMenu);%0D%0A%09%09%09Logger.out.debug(Constants.MENU_SELECTED + %22 %22 +strMenu +%22 set successfully%22);%0D%0A%09%09%7D%0D%0A    %09return mapping.findForward(Constants.SUCCESS);%0D%0A    %7D%0D%0A%7D%0D%0A

update for specimen array type page & change name from arraytype to specimenarraytype