Examples of FacesConfig


Examples of org.apache.openejb.jee.FacesConfig

        // load the faces configuration files
        // TODO:kmalhi:: Its good to have separate FacesConfig objects for multiple configuration files, but what if there is a conflict where the same
        // managebean is declared in two different files, which one wins? -- check the jsf spec, Hopefully JSF should be able to check for this and
        // flag an error and not allow the application to be deployed.
        for (URL location : facesConfigLocations) {
            FacesConfig facesConfig = ReadDescriptors.readFacesConfig(location);
            webModule.getFacesConfigs().add(facesConfig);
            if ("file".equals(location.getProtocol())) {
                webModule.getWatchedResources().add(URLs.toFilePath(location));
            }
        }
View Full Code Here

Examples of org.apache.openejb.jee.FacesConfig

        }
        return tldTaglib;
    }

    public static FacesConfig readFacesConfig(URL url) throws OpenEJBException {
        FacesConfig facesConfig;
        try {
         facesConfig = (FacesConfig) JaxbJavaee
        .unmarshalJavaee(FacesConfig.class, url.openStream());
        } catch (SAXException e) {
            throw new OpenEJBException("Cannot parse the faces configuration file: " + url.toExternalForm(), e);
View Full Code Here

Examples of org.apache.openejb.jee.FacesConfig$JAXB

* @version $Rev$ $Date$
*/
public class FacesConfigXml {

    public static FacesConfig unmarshal(final InputStream inputStream) throws Exception {
        return Sxc.unmarshalJavaee(new FacesConfig$JAXB(), inputStream);
    }
View Full Code Here

Examples of org.jboss.portletbridge.util.FacesConfig

    if (null != excluded) {
      for (String name : excluded) {
        excludedAttributes.add(new ExcludedRequestAttribute(name));
      }
    }
    FacesConfig facesConfig = new FacesConfig();
    facesConfig.parse(portletContext);
    excluded = facesConfig.getExcludedAttributes();
    if (null != excluded) {
      for (String name : excluded) {
        excludedAttributes.add(new ExcludedRequestAttribute(name));
      }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.