1 28 29 package com.opencms.workplace; 30 31 import org.opencms.file.CmsObject; 32 import org.opencms.main.CmsException; 33 34 import com.opencms.template.CmsXmlTemplateFile; 35 36 import java.util.Hashtable ; 37 38 46 public class CmsAdminCronManagement extends CmsWorkplaceDefault { 47 48 59 public byte[] getContent(CmsObject cms, String templateFile, String elementName, Hashtable parameters, String templateSelector) throws CmsException { 60 61 CmsXmlTemplateFile templateDocument = getOwnTemplateFile(cms, templateFile, elementName, parameters, templateSelector); 62 63 if("cancel".equals(parameters.get("step"))){ 64 templateSelector = "done"; 65 } else if(parameters.containsKey("table")) { 66 templateSelector = "done"; 69 } else { 70 } 75 return startProcessing(cms, templateDocument, elementName, parameters, templateSelector); 77 } 78 } | Popular Tags |