Examples of InputData


Examples of org.jbpm.formapi.shared.api.InputData

    private Grid createInputTable() {
        Grid inputTable = new Grid(this.inputs.size(), 2);
        List<InputData> inputList = new ArrayList<InputData>(this.inputs.values());
        for (int index = 0; index < inputList.size(); index++) {
            final InputData input = inputList.get(index);
            populateRetData(input);
            inputTable.setWidget(index, 0, new Label(input.getName()));
            final TextBox inputText = new TextBox();
            inputText.setValue(input.getValue());
            inputText.addChangeHandler(new ChangeHandler() {
                @Override
                public void onChange(ChangeEvent event) {
                    input.setValue(inputText.getValue());
                    populateRetData(input);
                }
            });
            inputTable.setWidget(index, 1, inputText);
        }
View Full Code Here

Examples of org.jbpm.formapi.shared.api.InputData

        super.populate(rep);
        LoopBlockRepresentation lrep = (LoopBlockRepresentation) rep;
        this.variableName = lrep.getVariableName();
        this.loopBlock.clear();
        if (lrep.getInputName() != null && !"".equals(lrep.getInputName())) {
            InputData input = new InputData();
            input.setName(lrep.getInputName());
            lrep.setInput(input);
        }
        if (lrep.getLoopBlock() != null) {
            FBFormItem child = super.createItem(lrep.getLoopBlock());
            this.loopBlock.add(child);
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.