Examples of webXml()


Examples of org.richfaces.deployment.CoreDeployment.webXml()

    @Deployment
    public static WebArchive createDeployment() {
        CoreDeployment deployment = createBasicDeployment(ITPushFilter.class);

        deployment.webXml(new Function<WebAppDescriptor, WebAppDescriptor>() {
            public WebAppDescriptor apply(WebAppDescriptor webXml) {
                return webXml
                        .createFilter()
                            .filterName(PushFilter.class.getSimpleName())
                            .filterClass(PushFilter.class.getName())
View Full Code Here

Examples of org.richfaces.deployment.CoreDeployment.webXml()

    @Deployment
    public static WebArchive createDeployment() {
        CoreDeployment deployment = createBasicDeployment(ITPushServletMapping.class);

        deployment.webXml(new Function<WebAppDescriptor, WebAppDescriptor>() {
            public WebAppDescriptor apply(WebAppDescriptor webXml) {
                return webXml
                        .createServlet()
                            .servletName(PushServlet.class.getSimpleName())
                            .servletClass(PushServlet.class.getName())
View Full Code Here

Examples of org.richfaces.deployment.CoreDeployment.webXml()

                .addAsWebResource(emptyResource, "resources/aggregated.css")
                .addAsWebResource(emptyResource, "resources/part1.js")
                .addAsWebResource(emptyResource, "resources/part2.js")
                .addAsWebResource(emptyResource, "resources/aggregated.js");

        deployment.webXml(new Function<WebAppDescriptor, WebAppDescriptor>() {
            public WebAppDescriptor apply(WebAppDescriptor descriptor) {

                descriptor.getOrCreateContextParam()
                        .paramName("org.richfaces.enableControlSkinning")
                        .paramValue("false");
View Full Code Here

Examples of org.richfaces.deployment.CoreDeployment.webXml()

    @Deployment
    public static WebArchive createDeployment() {
        CoreDeployment deployment = createBasicDeployment(ITPushFilterWithoutWarp.class);

        deployment.webXml(new Function<WebAppDescriptor, WebAppDescriptor>() {
            public WebAppDescriptor apply(WebAppDescriptor webXml) {
                return webXml
                    .createFilter()
                    .filterName(PushFilter.class.getSimpleName())
                    .filterClass(PushFilter.class.getName())
View Full Code Here

Examples of org.richfaces.deployment.CoreDeployment.webXml()

    @Deployment
    public static WebArchive createDeployment() {
        CoreDeployment deployment = createBasicDeployment(ITCliendWindowID.class);

        deployment.webXml(new Function<WebAppDescriptor, WebAppDescriptor>() {
            public WebAppDescriptor apply(WebAppDescriptor webXml) {
                return webXml
                    .createContextParam()
                    .paramName("javax.faces.CLIENT_WINDOW_MODE")
                    .paramValue("url")
View Full Code Here

Examples of org.richfaces.deployment.CoreDeployment.webXml()

    @Deployment
    public static WebArchive createDeployment() {
        CoreDeployment deployment = createBasicDeployment(ITPushServletMappingWithoutWarp.class);

        deployment.webXml(new Function<WebAppDescriptor, WebAppDescriptor>() {
            public WebAppDescriptor apply(WebAppDescriptor webXml) {
                return webXml
                    .createServlet()
                    .servletName(PushServlet.class.getSimpleName())
                    .servletClass(PushServlet.class.getName())
View Full Code Here

Examples of org.richfaces.integration.IterationDeployment.webXml()

    public static WebArchive createDeployment() {
//        IterationDeployment deployment = new IterationDeployment(RF12717_Test.class, "4.2.3.Final");
        IterationDeployment deployment = new IterationDeployment(RF12717_Test.class);
        deployment.archive().addClass(IterationBean.class);

        deployment.webXml(new Function<WebAppDescriptor, WebAppDescriptor>() {
            @Override
            public WebAppDescriptor apply(@Nullable WebAppDescriptor input) {
                input
                        .createContextParam()
                        .paramName("javax.faces.PARTIAL_STATE_SAVING")
View Full Code Here

Examples of org.richfaces.integration.IterationDeployment.webXml()

    @Deployment
    public static WebArchive createDeployment() {
        IterationDeployment deployment = new IterationDeployment(TestDisablingBuiltinSortingAndFiltering.class);
        deployment.archive().addClass(IterationBuiltInBean.class);
        addIndexPage(deployment);
        deployment.webXml(new Function<WebAppDescriptor, WebAppDescriptor>() {
            @Override
            public WebAppDescriptor apply(@Nullable WebAppDescriptor input) {
                input
                    .createContextParam()
                        .paramName("org.richfaces.builtin.sort.enabled")
View Full Code Here

Examples of org.richfaces.integration.RichDeployment.webXml()

    @Deployment(testable = false)
    public static WebArchive createDeployment() {
        RichDeployment deployment = new RichDeployment(ITPlaceholderInputText.class);

        deployment.archive().addClasses(PlaceHolderValueConverter.class, PlaceHolderValue.class);
        deployment.webXml(new Function<WebAppDescriptor, WebAppDescriptor>() {
            public WebAppDescriptor apply(WebAppDescriptor input) {
                return input.getOrCreateContextParam()
                        .paramName("javax.faces.PROJECT_STAGE")
                        .paramValue("SystemTest")
                    .up();
View Full Code Here

Examples of org.richfaces.integration.RichDeployment.webXml()

    @Deployment(testable = false)
    public static WebArchive createDeployment() {
        RichDeployment deployment = new RichDeployment(ITDisablingBuiltinSortingAndFiltering.class);
        deployment.archive().addClass(IterationBuiltInBean.class);
        addIndexPage(deployment);
        deployment.webXml(new Function<WebAppDescriptor, WebAppDescriptor>() {
            @Override
            public WebAppDescriptor apply(@Nullable WebAppDescriptor input) {
                input
                    .createContextParam()
                        .paramName("org.richfaces.builtin.sort.enabled")
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.