Examples of pushElement()


Examples of com.volantis.mcs.context.MarinerPageContext.pushElement()

        formDescriptor.setName(name);

        pattributes.setFormDescriptor(formDescriptor);

        // Push this element onto the stack of elements.
        pageContext.pushElement(this);

        return PROCESS_ELEMENT_BODY;
    }

    // Javadoc inherited.
View Full Code Here

Examples of com.volantis.mcs.context.MarinerPageContext.pushElement()

        VolantisProtocol protocol = pageContext.getProtocol();
        writeOpenMarkup(protocol);

        // Push this element.
        pageContext.pushElement(this);

        return PROCESS_ELEMENT_BODY;
    }

    /**
 
View Full Code Here

Examples of com.volantis.mcs.context.MarinerPageContext.pushElement()

        MarinerPageContext pageContext
                = ContextInternals.getMarinerPageContext(context);

        // Push this element.
        pageContext.pushElement(this);

        return PROCESS_ELEMENT_BODY;
    }

    // Javadoc inherited.
View Full Code Here

Examples of com.volantis.mcs.context.MarinerPageContext.pushElement()

        } else {
            SelectOptionGroup sfoga =
                    ((XFOptionGroupElementImpl) enclosing).getOptionGroup();
            sfoga.addSelectOptionGroup(optiongroup);
        }
        pageContext.pushElement(this);
        return PROCESS_ELEMENT_BODY;
    }

    /**
     * Javadoc inherited from super class.
View Full Code Here

Examples of com.volantis.mcs.context.MarinerPageContext.pushElement()

                            exceptionLocalizer.format("pane-name-required"));
                }
            }

            // Push this element onto the stack of elements.
            pageContext.pushElement(this);
            skipped = false;

            try {
                protocol.writeOpenNativeMarkup(pattributes);
            } catch (ProtocolException e) {
View Full Code Here

Examples of com.volantis.mcs.context.TestMarinerPageContext.pushElement()

        Styles testStyles = StylesBuilder.getStyles(
                "mcs-menu-image-style: rollover");

        PrivateAccessor.setField(menuElement, "menuProperties",
                testStyles.getPropertyValues());
        pageContext.pushElement(menuElement);

        pageContext.setPolicyReferenceResolver(
                PolicyReferenceResolverTestHelper.getCommonExpectations(
                        expectations, mockFactory));
View Full Code Here

Examples of com.volantis.mcs.context.TestMarinerPageContext.pushElement()

        MenuElementImpl menuElement = new MenuElementImpl();
        Styles testStyles = StylesBuilder.getStyles(
                "mcs-menu-image-style: rollover");
        PrivateAccessor.setField(menuElement, "menuProperties",
                testStyles.getPropertyValues());
        pageContext.pushElement(menuElement);

        MenuModelBuilder menuModelBuilder = pageContext.getMenuBuilder();
        //builder#startMenuItem will fail unless this has been called
        menuModelBuilder.startMenu();
View Full Code Here

Examples of com.volantis.mcs.xdime.XDIMEContextInternal.pushElement()

        XFSubmitElementImpl submitElement = new XFSubmitElementImpl(context);
        XFActionAttributes attributes =
                (XFActionAttributes) submitElement.getProtocolAttributes();
        FieldDescriptor fd = new FieldDescriptor();
        attributes.setFieldDescriptor(fd);
        context.pushElement(submitElement);

        // Run test.
        XFSetValueElementImpl setValue =
                new XFSetValueElementImpl(context, strategy);
        setValue.callCloseOnProtocol(context);
View Full Code Here

Examples of com.volantis.mcs.xdime.XDIMEContextInternal.pushElement()

        XFSubmitElementImpl submitElement = new XFSubmitElementImpl(context);
        XFActionAttributes actionAttributes =
                (XFActionAttributes) submitElement.getProtocolAttributes();
        FieldDescriptor fd = new FieldDescriptor();
        actionAttributes.setFieldDescriptor(fd);
        context.pushElement(submitElement);

        // Run test.
        assertNull(actionAttributes.getInitial());
        assertNull(actionAttributes.getValue());
        assertNull(actionAttributes.getFieldDescriptor().getInitialValue());
View Full Code Here

Examples of com.volantis.mcs.xdime.XDIMEContextInternal.pushElement()

        XFSubmitElementImpl submitElement = new XFSubmitElementImpl(context);
        XFActionAttributes actionAttributes =
                (XFActionAttributes) submitElement.getProtocolAttributes();
        FieldDescriptor fd = new FieldDescriptor();
        actionAttributes.setFieldDescriptor(fd);
        context.pushElement(submitElement);

        // Run test.
        assertNull(actionAttributes.getInitial());
        assertNull(actionAttributes.getValue());
        assertNull(actionAttributes.getFieldDescriptor().getInitialValue());
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.