Examples of EmptyAsset


Examples of org.jboss.shrinkwrap.api.asset.EmptyAsset

    @Deployment
    public static WebArchive createDeployment() {

        RichDeployment deployment = new RichDeployment(ITResourceMapperService.class);

        EmptyAsset emptyResource = EmptyAsset.INSTANCE;

        FaceletAsset page = new FaceletAsset().head("<h:outputStylesheet name='stylesheet.css' library='some.library' />"
                + "<h:outputStylesheet name='stylesheet.css' library='another.library' />");

        deployment.archive()
View Full Code Here

Examples of org.jboss.shrinkwrap.api.asset.EmptyAsset

                .key(":part1.css").value("aggregated.css")
                .key(":part2.css").value("aggregated.css")
                .key("part1.js").value("aggregated.js")
                .key("part2.js").value("aggregated.js");

        EmptyAsset emptyResource = EmptyAsset.INSTANCE;

        FaceletAsset relocationPage = new FaceletAsset().head("<h:outputStylesheet name=\"original.css\" />");

        FaceletAsset aggregationPage = new FaceletAsset().head("<h:outputStylesheet name=\"part1.css\" />"
                + "<h:outputStylesheet name=\"part2.css\" />");
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.