Package org.apache.shale.remoting.impl

Examples of org.apache.shale.remoting.impl.MappingImpl


        helper = new XhtmlHelper();
        facesContext.setViewRoot(new UIViewRoot());
        mappings = new MappingsImpl();
        mappings.setExtension(".jsp");
        mappings.setPatterns(new String[] { "*.faces" });
        mapping = new MappingImpl();
        mapping.setMappings(mappings);
        mapping.setMechanism(Mechanism.CLASS_RESOURCE);
        mappings.addMapping(mapping);
        facesContext.getExternalContext().getApplicationMap().
                put(Constants.MAPPINGS_ATTR, mappings);
View Full Code Here

TOP

Related Classes of org.apache.shale.remoting.impl.MappingImpl

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.