All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web.sequences.local_registry-ajaxprocessor.jsp Maven / Gradle / Ivy

The newest version!

<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" %>
<%@ page import="org.wso2.carbon.sequences.ui.client.SequenceAdminClient" %>
<%@ page import="org.wso2.carbon.sequences.ui.util.SequenceEditorHelper" %>
<%@ page import="org.wso2.carbon.sequences.ui.client.EditorUIClient" %>
<%@ page import="org.owasp.encoder.Encode" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="http://wso2.org/projects/carbon/taglibs/carbontags.jar" prefix="carbon" %>



    <%
        String resourceConsumer = request.getParameter("resourceConsumer");
        EditorUIClient sequenceAdminClient
                = SequenceEditorHelper.getClientForEditor(getServletConfig(), session);//new SequenceAdminClient(this.getServletConfig(), session);
        String result = "error";
        try {
            result = sequenceAdminClient.getEntryNamesString();
        } catch (Exception e) {

    %>
    
    <%
        }
        // Set standard HTTP/1.1 no-cache headers.
        response.setHeader("Cache-Control", "no-store, max-age=0, no-cache, must-revalidate");
        // Set IE extended HTTP/1.1 no-cache headers.
        response.addHeader("Cache-Control", "post-check=0, pre-check=0");
        // Set standard HTTP/1.0 no-cache header.
        response.setHeader("Pragma", "no-cache");
        if (result == null) {
            result = "";
        }
        String[] entries = result.split(" ");
        if (entries != null && entries.length > 0) {
    %>

    
<%}%>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy