web.task.edittask.jsp Maven / Gradle / Ivy
<%@ page import="org.apache.axiom.om.OMElement" %>
<%@ page import="org.apache.synapse.task.TaskDescription" %>
<%@ page import="org.wso2.carbon.task.ui.internal.TaskClientConstants" %>
<%@ page import="org.wso2.carbon.task.ui.internal.TaskManagementClient" %>
<%@ page import="org.wso2.carbon.task.ui.internal.TaskManagementHelper" %>
<%@ page import="org.owasp.encoder.Encode" %>
<%@ page import="javax.xml.namespace.QName" %>
<%@ page import="java.util.List" %>
<%@ page import="java.util.Set" %>
<%@ page import="org.wso2.carbon.CarbonConstants" %>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="http://wso2.org/projects/carbon/taglibs/carbontags.jar" prefix="carbon" %>
<%
boolean disableTaskClass = new Boolean((String) config.getServletContext().getAttribute(
CarbonConstants.PRODUCT_XML_WSO2CARBON + TaskClientConstants.DISABLE_TASK_CLASS));
boolean disableTaskProperties = new Boolean((String) config.getServletContext().getAttribute(
CarbonConstants.PRODUCT_XML_WSO2CARBON + TaskClientConstants.DISABLE_TASK_PROPERTIES));
%>
<%
String name = request.getParameter("taskName");
if (name == null || "".equals(name)) {
%>
<%
return;
}
String group = request.getParameter("taskGroup");
if (group == null || "".equals(group)) {
%>
<%
return;
}
try {
TaskManagementClient client = TaskManagementClient.getInstance(config, session);
TaskDescription taskDescription = TaskManagementHelper.getTaskDescription(request, client, name, group);
%>
<% } catch (Throwable e) {
request.getSession().setAttribute(TaskClientConstants.EXCEPTION, e);
%>
<%
return;
}
%>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy