Examples of resolveQuotedTextExpression()


Examples of com.volantis.mcs.runtime.policies.PolicyReferenceResolver.resolveQuotedTextExpression()

            PolicyReferenceResolver resolver =
                    pageContext.getPolicyReferenceResolver();

            // Set the prompt
            builder.setPrompt(resolver.resolveQuotedTextExpression(
                    attributes.getPrompt()));

            // Set the error message
            builder.setErrorMessage(resolver.resolveQuotedTextExpression(
                    attributes.getErrmsg()));
View Full Code Here

Examples of com.volantis.mcs.runtime.policies.PolicyReferenceResolver.resolveQuotedTextExpression()

            // Set the prompt
            builder.setPrompt(resolver.resolveQuotedTextExpression(
                    attributes.getPrompt()));

            // Set the error message
            builder.setErrorMessage(resolver.resolveQuotedTextExpression(
                    attributes.getErrmsg()));

            // Set the help
            builder.setHelp(resolver.resolveQuotedTextExpression(
                    attributes.getHelp()));
View Full Code Here

Examples of com.volantis.mcs.runtime.policies.PolicyReferenceResolver.resolveQuotedTextExpression()

            // Set the error message
            builder.setErrorMessage(resolver.resolveQuotedTextExpression(
                    attributes.getErrmsg()));

            // Set the help
            builder.setHelp(resolver.resolveQuotedTextExpression(
                    attributes.getHelp()));

            // Set the title
            builder.setTitle(attributes.getTitle());
View Full Code Here

Examples of com.volantis.mcs.runtime.policies.PolicyReferenceResolver.resolveQuotedTextExpression()

            PolicyReferenceResolver resolver =
                    pageContext.getPolicyReferenceResolver();

            // Set the initial value attribute.
            object = resolver.resolveQuotedTextExpression(
                    attributes.getInitial());
            pattributes.setInitial(object);

            // Set the max length attribute.
            value = attributes.getMaxLength();
View Full Code Here

Examples of com.volantis.mcs.runtime.policies.PolicyReferenceResolver.resolveQuotedTextExpression()

            // This code should be removed when we stop defaulting to the caption
            // value.
            PolicyReferenceResolver resolver =
                    pageContext.getPolicyReferenceResolver();
            TextAssetReference object
                    = resolver.resolveQuotedTextExpression(
                    attributes.getCaption());
            String caption = getPlainText(object);
            if (caption != null) {
                value = caption;
            }
View Full Code Here

Examples of com.volantis.mcs.runtime.policies.PolicyReferenceResolver.resolveQuotedTextExpression()

            // This code should be removed when we stop defaulting to the caption
            // value.
            PolicyReferenceResolver resolver =
                    pageContext.getPolicyReferenceResolver();
            TextAssetReference object
                    = resolver.resolveQuotedTextExpression(
                    attributes.getCaption());
            String caption = getPlainText(object);
            if (caption != null) {
                value = caption;
            }
View Full Code Here

Examples of com.volantis.mcs.runtime.policies.PolicyReferenceResolver.resolveQuotedTextExpression()

        // Extract project to resolve policy expressions against.
        PolicyReferenceResolver resolver =
                pageContext.getPolicyReferenceResolver();

        TextAssetReference textReference =
                resolver.resolveQuotedTextExpression(linkText);

        // Retrive the text from asset and set the
        // linkText if textReference is a text asset.
        if (textReference != null) {
            linkText = textReference.getText(TextEncoding.PLAIN);
View Full Code Here

Examples of com.volantis.mcs.runtime.policies.PolicyReferenceResolver.resolveQuotedTextExpression()

        PolicyReferenceResolver resolver =
                pageContext.getPolicyReferenceResolver();

        // Resolve the shortcut string to a mariner expression
        if ((value = attributes.getShortcut()) != null) {
            shortcut = resolver.resolveQuotedTextExpression(value);
        }

        // Resolve the accesskey string to a mariner expression
        if ((value = attributes.getAccessKey()) != null) {
            accessKey = resolver.resolveQuotedTextExpression(value);
View Full Code Here

Examples of com.volantis.mcs.runtime.policies.PolicyReferenceResolver.resolveQuotedTextExpression()

            shortcut = resolver.resolveQuotedTextExpression(value);
        }

        // Resolve the accesskey string to a mariner expression
        if ((value = attributes.getAccessKey()) != null) {
            accessKey = resolver.resolveQuotedTextExpression(value);
        }

        if (shortcut != null) {
            if (accessKey != null) {
                throw new PAPIException(exceptionLocalizer.
View Full Code Here

Examples of com.volantis.mcs.runtime.policies.PolicyReferenceResolver.resolveQuotedTextExpression()

        final String linkText = link.getLinkText();
        if (linkText != null) {
            PolicyReferenceResolver resolver =
                    context.getPolicyReferenceResolver();
            TextAssetReference linkTextReference =
                    resolver.resolveQuotedTextExpression(linkText);
            action.setCaption(linkTextReference);
        }

        // An action button is always a submit.
        action.setType("submit");
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.