Package org.jbpm.formapi.common.panels

Examples of org.jbpm.formapi.common.panels.FieldSetPanel


        return clone;
    }

    @Override
    public Widget cloneDisplay(Map<String, Object> formData) {
        FieldSetPanel fsp = new FieldSetPanel();
        populate(fsp);
        String value = (String) getInputValue(formData);
        if (value != null) {
            fsp.setLegend(value);
        } else {
            String locale = (String) formData.get(FormBuilderGlobals.BASE_LOCALE);
            fsp.setLegend(this.legend);
            if (locale != null) {
                String i18nText = getI18n(locale);
                if (i18nText != null && !"".equals(i18nText)) {
                    fsp.setLegend(i18nText);
                }
            }
        }
        super.populateActions(fsp.getElement());
        for (FBFormItem item : getItems()) {
            fsp.add(item.cloneDisplay(formData));
        }
        return fsp;
    }
View Full Code Here

TOP

Related Classes of org.jbpm.formapi.common.panels.FieldSetPanel

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.