Examples of EditorUIClientFactory


Examples of org.wso2.carbon.sequences.ui.factory.EditorUIClientFactory

        session.removeAttribute("throttle_policy_map");
        session.removeAttribute("mediator.position");
    }

    public static EditorUIClient getClientForEditor(ServletConfig config, HttpSession session) {
        EditorUIClientFactory factory = getFactoryFrom(session);
        return factory.createClient(config, session);
    }
View Full Code Here

Examples of org.wso2.carbon.sequences.ui.factory.EditorUIClientFactory

        EditorUIClientFactory factory = getFactoryFrom(session);
        return factory.createClient(config, session);
    }

    public static SequenceMediator getSequenceForEditor(HttpSession session) {
        EditorUIClientFactory factory = getFactoryFrom(session);
        return (SequenceMediator) factory.createEditingMediator();
    }
View Full Code Here

Examples of org.wso2.carbon.sequences.ui.factory.EditorUIClientFactory

        EditorUIClientFactory factory = getFactoryFrom(session);
        return (SequenceMediator) factory.createEditingMediator();
    }

    public static String getUIMetadataForEditor(String key, HttpSession session) {
        EditorUIClientFactory factory = getFactoryFrom(session);
        String tag = factory.getUIMetaInfo().get(key);
        if (tag != null && !"".equals(tag)) {
            return tag;
        }
        return key;
    }
View Full Code Here

Examples of org.wso2.carbon.sequences.ui.factory.EditorUIClientFactory

        }
        return key;
    }

    private static EditorUIClientFactory getFactoryFrom(HttpSession session) {
        EditorUIClientFactory factory = (EditorUIClientFactory) session.getAttribute("editorClientFactory");
        if (factory == null) {
            factory = new SequenceEditorClientFactory();
        }
        return factory;
    }
View Full Code Here

Examples of org.wso2.carbon.sequences.ui.factory.EditorUIClientFactory

            factory = new SequenceEditorClientFactory();
        }
        return factory;
    }
    public static String  getForwardToFrom(HttpSession session) {
        EditorUIClientFactory factory = getFactoryFrom(session);
        String mode = getEditorMode(factory);

        if (mode == null || ( mode != null && "sequence".equals(mode))) {
            return "list_sequences.jsp";
        }
        return factory.getUIMetaInfo().get("forwardPage");
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.