Package at.reppeitsolutions.formbuilder.components.formbuilderitem

Examples of at.reppeitsolutions.formbuilder.components.formbuilderitem.FormBuilderItemConstraint


        if (formModel != null) {
            List<FormBuilderContainer> components = new ArrayList<>();

            boolean mandatoryError = false;
            FormBuilderItemConstraint activeConstraint = null;

            if (formModel.getData() != null) {
                for (FormBuilderItemData item : formModel.getData()) {
                    ConstraintVariablesContainer constraintVariablesContainer = new ConstraintVariablesContainer();
                    activeConstraint = checkConstraints(item, activeConstraint, constraintVariablesContainer, formFiller.getWorkflowState(), formFiller.getConstraintClient());
View Full Code Here


            components.add(FormBuilderItemFactory.getUIComponent(new FormBuilderItemHorizonalRule(true)));
            components.add(FormBuilderItemFactory.getUIComponent(new FormBuilderItemSpace(true)));
            components.add(FormBuilderItemFactory.getUIComponent(new FormBuilderItemFormatArea(true)));
            components.add(FormBuilderItemFactory.getUIComponent(new FormBuilderItemPagebreak(true)));
        } else if (category == COMPONENT_CATEGORY.WORKFLOW) {
            components.add(FormBuilderItemFactory.getUIComponent(new FormBuilderItemConstraint(true)));
        } else if (category == COMPONENT_CATEGORY.METADATA &&
                getMetaDataObject() != null &&
                getMetaDataDescriptions() != null) {
            for(MetaDataDescription description : getMetaDataDescriptions()) {
                components.add(FormBuilderItemFactory.getUIComponent(new FormBuilderItemMetaData(true, description)));
View Full Code Here

                                            int constrains = 1 + constraintsMap.size();
                                            FormBuilderItemBase brother = null;
                                            if (o instanceof FormBuilderItemFormatArea) {
                                                brother = new FormBuilderItemFormatArea();
                                            } else {
                                                brother = new FormBuilderItemConstraint();
                                            }
                                            brother.getProperties().setBrother(area.getId());
                                            brother.setBrother(area);
                                            brother.setPosition(area.getPosition() + 1);
                                            area.getProperties().setBrother(brother.getId());
View Full Code Here

            String mode,
            WorkflowState workflowState,
            ConstraintClient constraintClient) throws DocumentException {
        ITextOuterTableCell outputCell;
        ITextOuterTableCell dummyCell = null;
        FormBuilderItemConstraint activeConstraint = null;
        int halfwidthcount = 0;
        for (int i = 0; i < items.size(); ++i) {
            FormBuilderItemBase item = items.get(i).getFormBuilderItem();
            FormBuilderItemData itemData = items.get(i).getFormBuilderItemData();
            if(itemData != null) {
View Full Code Here

TOP

Related Classes of at.reppeitsolutions.formbuilder.components.formbuilderitem.FormBuilderItemConstraint

Copyright © 2018 www.massapicom. 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.