Examples of archive()


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

    private URL contextPath;

    @Deployment
    public static WebArchive createDeployment() {
        RichDeployment deployment = new RichDeployment(ITPanelMenu.class);
        deployment.archive()
            .addClasses(PanelMenuBean.class, VerifyMenuAction.DidNotOccur.class, VerifyMenuAction.DidNotOccur.class)
            .addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml");
        addDisabledMenuItemPage(deployment);
        addDisabledMenuGroupPage(deployment);
        addDisabledMenuGroupPageClient(deployment);
View Full Code Here

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

    WebElement serverSideInfo;

    @Deployment(testable = false)
    public static WebArchive createDeployment() {
        RichDeployment deployment = new RichDeployment(ITChartBasic.class);
        deployment.archive().addClasses(ChartBean.class).addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml");
        addIndexPage(deployment);
        return deployment.getFinalArchive();
    }

    private static void addIndexPage(RichDeployment deployment) {
View Full Code Here

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

    private WebElement button;

    @Deployment(testable = false)
    public static WebArchive createDeployment() {
        RichDeployment deployment = new RichDeployment(ITColumnsOrder.class);
        deployment.archive().addClass(IterationBean.class);
        addIndexPage(deployment);

        return deployment.getFinalArchive();
    }
View Full Code Here

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

    private URL contextPath;

    @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
View Full Code Here

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

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

        deployment.archive().addClasses(ComponentBean.class, VerifyFocusCandidates.class, VerifyFocusEnforcing.class,
                VerifyFocusEnforcingOverridesFocusSettings.class, AbstractComponentAssertion.class);
        deployment.archive().addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml");

        addIndexPage(deployment);
        addViewFocusPage(deployment);
View Full Code Here

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

    private URL contextPath;

    @Deployment(testable = false)
    public static WebArchive createDeployment() {
        RichDeployment deployment = new RichDeployment(ITValidatorMessageWithLabel.class);
        deployment.archive().addClass(ValidatorBean.class);

        final String messageBundle = ITValidatorMessageWithLabel.class.getPackage().getName() + ".MessagesWithLabels";
        final String messageBundleResource = messageBundle.replace('.', '/') + ".properties";

        addIndexPage(deployment);
View Full Code Here

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

    public static WebArchive createDeployment() {
        RichDeployment deployment = new RichDeployment(ITFocusManager.class);

        deployment.archive().addClasses(ComponentBean.class, VerifyFocusCandidates.class, VerifyFocusEnforcing.class,
                VerifyFocusEnforcingOverridesFocusSettings.class, AbstractComponentAssertion.class);
        deployment.archive().addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml");

        addIndexPage(deployment);
        addViewFocusPage(deployment);
        addFormFocusIndexPage(deployment);
View Full Code Here

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

        final String messageBundle = ITValidatorMessageWithLabel.class.getPackage().getName() + ".MessagesWithLabels";
        final String messageBundleResource = messageBundle.replace('.', '/') + ".properties";

        addIndexPage(deployment);

        deployment.archive().addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml");
        deployment.archive().addAsResource(messageBundleResource);

        deployment.facesConfig(new Function<WebFacesConfigDescriptor, WebFacesConfigDescriptor>() {
            @Override
            public WebFacesConfigDescriptor apply(@Nullable WebFacesConfigDescriptor input) {
View Full Code Here

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

        final String messageBundleResource = messageBundle.replace('.', '/') + ".properties";

        addIndexPage(deployment);

        deployment.archive().addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml");
        deployment.archive().addAsResource(messageBundleResource);

        deployment.facesConfig(new Function<WebFacesConfigDescriptor, WebFacesConfigDescriptor>() {
            @Override
            public WebFacesConfigDescriptor apply(@Nullable WebFacesConfigDescriptor input) {
                return input.getOrCreateApplication()
View Full Code Here

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

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

        deployment.archive().addClasses(GraphBean.class, Group.class);

        deployment.webXml(new Function<WebAppDescriptor, WebAppDescriptor>() {
            public WebAppDescriptor apply(WebAppDescriptor webXml) {
                 webXml.createContextParam()
                     .paramName("javax.faces.validator.DISABLE_DEFAULT_BEAN_VALIDATOR")
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.