Package com.liferay.faces.util.config

Examples of com.liferay.faces.util.config.WebConfig


    MultiPartConfig facesServletMultiPartConfig = null;

    String appConfigAttrName = ApplicationConfig.class.getName();
    Map<String, Object> applicationMap = externalContext.getApplicationMap();
    ApplicationConfig applicationConfig = (ApplicationConfig) applicationMap.get(appConfigAttrName);
    WebConfig webConfig = applicationConfig.getWebConfig();
    List<ConfiguredServlet> configuredServlets = webConfig.getConfiguredServlets();

    for (ConfiguredServlet configuredServlet : configuredServlets) {

      if (FACES_SERVLET_FQCN.equals(configuredServlet.getServletClass())) {
        facesServletMultiPartConfig = configuredServlet.getMultiPartConfig();
View Full Code Here

TOP

Related Classes of com.liferay.faces.util.config.WebConfig

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.