Package com.liferay.faces.util.config

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


      try {
        applicationConfig = applicationConfigInitializer.initialize();
        applicationMap.put(appConfigAttrName, applicationConfig);

        // Register the configured factories with the factory extension finder.
        FacesConfig facesConfig = applicationConfig.getFacesConfig();
        List<ConfiguredElement> configuredFactoryExtensions = facesConfig.getConfiguredFactoryExtensions();

        if (configuredFactoryExtensions != null) {

          FactoryExtensionFinder factoryExtensionFinder = FactoryExtensionFinder.getInstance();
View Full Code Here


    // configuredFacesServletMappings
    String appConfigAttrName = ApplicationConfig.class.getName();
    PortletContext portletContext = portletConfig.getPortletContext();
    ApplicationConfig applicationConfig = (ApplicationConfig) portletContext.getAttribute(appConfigAttrName);
    FacesConfig facesConfig = applicationConfig.getFacesConfig();
    this.configuredFacesServletMappings = facesConfig.getConfiguredFacesServletMappings();

    // configuredSystemEventListeners
    this.configuredSystemEventListeners = facesConfig.getConfiguredSystemEventListeners();

    // defaultSuffixes
    this.defaultSuffixes = facesConfig.getConfiguredSuffixes();

    // excludedRequestAttributes
    this.excludedRequestAttributes = new HashSet<String>();

    List<ConfiguredElement> configuredApplicationExtensions = facesConfig.getConfiguredApplicationExtensions();

    for (ConfiguredElement configuredElement : configuredApplicationExtensions) {
      String configuredElementName = configuredElement.getName();

      if (EXCLUDED_ATTRIBUTE.equals(configuredElementName)) {
View Full Code Here

    if ((servletPath != null) && servletPath.startsWith(RESOURCE_IDENTIFIER)) {

      Map<String, Object> applicationMap = externalContext.getApplicationMap();
      String appConfigAttrName = ApplicationConfig.class.getName();
      ApplicationConfig applicationConfig = (ApplicationConfig) applicationMap.get(appConfigAttrName);
      FacesConfig facesConfig = applicationConfig.getFacesConfig();
      List<ConfiguredServletMapping> configuredFacesServletMappings =
        facesConfig.getConfiguredFacesServletMappings();

      resourceName = servletPath.substring(RESOURCE_IDENTIFIER.length() + 1);

      for (ConfiguredServletMapping configuredFacesServletMapping : configuredFacesServletMappings) {
View Full Code Here

TOP

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

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.