Package org.openfaces.ajax.plugins

Examples of org.openfaces.ajax.plugins.AjaxPluginIncludes


        }
        Object ajaxResult = ajaxRequest.getAjaxResult();
        ajaxResponse.setAjaxResult(ajaxResult);
        ajaxResponse.setValidationError(ajaxRequest.isValidationError());

        AjaxPluginIncludes availableIncludes = PluginsLoader.getAvailableIncludes(context);
        List<String> foreignHeadScripts = availableIncludes.getScripts();
        ajaxPrepareInitializationScripts(context, ajaxResponse, foreignHeadScripts, initializationScripts);

        //todo: find component with inheader styles declaration and add corresponding functionality to AjaxPlugin(s)

        addJSLibraries(context, ajaxResponse);
        List<String> jsLibraries = availableIncludes.getJsIncludes();
        if (jsLibraries != null)
            addForeignJSLibraries(ajaxResponse, jsLibraries);

        addStyles(context, ajaxResponse, components);
        List<String> cssFiles = availableIncludes.getCssIncludes();
        if (cssFiles != null) {
            addForeignCSSFiles(ajaxResponse, cssFiles);
        }
       
        if (AjaxUtil.isPortletRequest(context)) {
View Full Code Here

TOP

Related Classes of org.openfaces.ajax.plugins.AjaxPluginIncludes

Copyright © 2018 www.massapicom. 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.