Examples of XFContentAttributes


Examples of com.volantis.mcs.papi.XFContentAttributes

    /**
     * Initialise the context objects that this test uses
     */
    private void initialiseContexts() throws RepositoryException {
        attributes = new XFContentAttributes();
        element = new XFContentElementImpl();

        requestContext = new TestMarinerRequestContext();

        pageContext = new TestMarinerPageContext();
View Full Code Here

Examples of com.volantis.mcs.papi.XFContentAttributes

    // Javadoc inherited.
    protected int exprElementStart(
            MarinerRequestContext context,
            PAPIAttributes papiAttributes) throws PAPIException {

        XFContentAttributes attributes = (XFContentAttributes) papiAttributes;

        // Get the page context.
        MarinerPageContext pageContext
                = ContextInternals.getMarinerPageContext(context);

        // Get the enclosing form element's attributes.
        XFFormElementImpl formElement
                = (XFFormElementImpl) pageContext.getCurrentElement();
        com.volantis.mcs.protocols.XFFormAttributes formAttributes =
                formElement.getProtocolAttributes();

        String paneName = attributes.getPane();
        Pane pane = null;
        if (null == paneName) {
            FormInstance form = (FormInstance) formAttributes.getFormData();
            pane = ((Form) form.getFormat()).getDefaultPane();
            paneName = pane.getName();
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.