Examples of FormFragment


Examples of com.volantis.mcs.layouts.FormFragment

    }

    // Javadoc inherited from super class.
    protected boolean isEmptyImpl() {

        FormFragment currentFragment = context.getCurrentFormFragment();
        FormFragment fragment = (FormFragment) format;

        Format child = fragment.getChildAt(0);

        if (child != null) {
            if (currentFragment == null || fragment == currentFragment) {
                return context.isFormatEmpty(child);
            } else {
View Full Code Here

Examples of com.volantis.mcs.layouts.FormFragment

            boolean before, List linkList) {
        if (fragment == null) {
            return;
        }
        FormFragmentInstance instance = (FormFragmentInstance) fragment;
        FormFragment formFragment = (FormFragment) instance.getFormat();
        boolean isLink = prev ? formFragment.isPreviousLinkBefore() :
            formFragment.isNextLinkBefore();
        if ((before && isLink) || (!before && !isLink)) {
            addLink(instance, formFragment, prev, linkList);
        }
    }
View Full Code Here

Examples of com.volantis.mcs.papi.FormFragment

        FormFragmentAttributes attributes =
                (FormFragmentAttributes) papiAttributes;

        // Get the current form fragment from the request context
        FormFragment fragment = context.getFormFragment(attributes.getName());
        if (fragment != null) {
            String value = attributes.getLinkText();
            if (value != null) {
                fragment.setNextLinkText(value);
            }
            value = attributes.getBackLinkText();
            if (value != null) {
                fragment.setPreviousLinkText(value);
            }
        }

        return CONTINUE_PROCESSING;
    }
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.