Package org.jboss.portletbridge.util

Examples of org.jboss.portletbridge.util.WebXML


    stateHolder = PortletStateHolder.init(portletContext);
    initFaces(portletContext);
    transferLocales(config);
    exceptionHandler = createExceptionHandler(portletContext);
    // Parse web.xml for a Faces Servlet mappings.
    WebXML webXml = new WebXML();
    webXml.parse(portletContext);
    this.facesServletMappings = webXml.getFacesServletMappings();
    if (null == facesServletMappings || facesServletMappings.size() == 0) {
      throw new BridgeException("Unable to get Faces Servlet mapping");
    }
    errorPages = webXml.getErrorViews();
    // Get defined role names from portlet.xml
    PortletXML portletXML = new PortletXML();
    portletXML.parse(portletContext);
    userRoles = portletXML.getUserRoles(portletName);
    // Get all excluded request attributes names.
View Full Code Here


    }

    this.portletConfig = config;
    PortletContext portletContext = config.getPortletContext();
  
    WebXML webXml = new WebXML();      
        webXml.parse(portletContext);
        this.filterInitParams = webXml.getFilterInitParams();

    initFaces(portletContext);
    // add locales to faces application
    transferLocales(config);
    // Register exception handler.
    exceptionHandler = createExceptionHandler();
    // Parse web.xml for a Faces Servlet mappings.
    this.facesServletMappings = webXml.getFacesServletMappings();
    
    errorPages = webXml.getErrorViews();
    // Get all excluded request attributes names.
    this.excludedAttributes = new HashSet<ExcludedRequestAttribute>();
    String bridgeParametersPrefix = Bridge.BRIDGE_PACKAGE_PREFIX
        + portletName + ".";
    List<String> excluded = (List<String>) portletContext
View Full Code Here

TOP

Related Classes of org.jboss.portletbridge.util.WebXML

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.