Examples of XFBooleanAttributes


Examples of com.volantis.mcs.papi.XFBooleanAttributes

    String getInitialValue(
            MarinerPageContext pageContext,
            PAPIAttributes papiAttributes)
            throws PAPIException {

        XFBooleanAttributes attributes = (XFBooleanAttributes) papiAttributes;

        return attributes.getInitial();
    }
View Full Code Here

Examples of com.volantis.mcs.papi.XFBooleanAttributes

            throws PAPIException {

        MarinerPageContext pageContext
                = ContextInternals.getMarinerPageContext(context);

        XFBooleanAttributes attributes = (XFBooleanAttributes) papiAttributes;

        // Create a new protocol attributes object every time, as this element
        // could be reused before the attributes have actually been finished with
        // by the protocol.
        com.volantis.mcs.protocols.XFBooleanAttributes pattributes
                = new com.volantis.mcs.protocols.XFBooleanAttributes();

        // Initialise the attributes specific to this field.
        TextAssetReference object;

        PolicyReferenceResolver resolver =
                pageContext.getPolicyReferenceResolver();

        // Process the errmsg as a mariner expression.
        object = resolver.resolveQuotedTextExpression(attributes.getErrmsg());
        pattributes.setErrmsg(object);

        // Process the false value as a mariner expression.
        object = resolver.resolveQuotedTextExpression(
                attributes.getFalseValue());
        pattributes.setFalseValues(object);

        // Set the initial value attribute.
        pattributes.setInitial(attributes.getInitial());

        // Process the true value as a mariner expression.
        object =
                resolver.resolveQuotedTextExpression(attributes.getTrueValue());
        pattributes.setTrueValues(object);

        // Initialise form field event attributes.
        PAPIInternals.initialiseFieldEventAttributes(pageContext, attributes,
                pattributes);
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.