Package org.jbpm.formapi.client

Examples of org.jbpm.formapi.client.FormBuilderException


    }
   
    @Override
    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof TextAreaRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "TextAreaRepresentation"));
        }
        super.populate(rep);
        TextAreaRepresentation trep = (TextAreaRepresentation) rep;
        this.cols = trep.getCols();
        this.id = trep.getId();
View Full Code Here


    }

    @Override
    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof CalendarRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "CalendarRepresentation"));
        }
        super.populate(rep);
        CalendarRepresentation crep = (CalendarRepresentation) rep;
        this.calendarCss = crep.getCalendarCss();
        this.iconUrl = crep.getIconUrl();
View Full Code Here

    }
   
    @Override
    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof TextFieldRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "TextFieldRepresentation"));
        }
        super.populate(rep);
        TextFieldRepresentation trep = (TextFieldRepresentation) rep;
        this.defaultContent = trep.getDefaultValue();
        this.name = trep.getName();
View Full Code Here

    }
   
    @Override
    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof CheckBoxRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "CheckBoxRepresentation"));
        }
        super.populate(rep);
        CheckBoxRepresentation crep = (CheckBoxRepresentation) rep;
        this.formValue = crep.getFormValue();
        this.name = crep.getName();
View Full Code Here

   
   
    @Override
    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof UploadWithProgressBarRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "UploadWithProgressBarRepresentation"));
        }
        super.populate(rep);
        UploadWithProgressBarRepresentation urep = (UploadWithProgressBarRepresentation) rep;
        this.autoSubmit = urep.isAutoSubmit();
        this.avoidRepeatFiles = urep.isAvoidRepeatFiles();
View Full Code Here

    }

    @Override
    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof TabbedPanelRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "TabbedPanelRepresentation"));
        }
        super.populate(rep);
        TabbedPanelRepresentation trep = (TabbedPanelRepresentation) rep;
        this.cssClassName = trep.getCssClassName();
        this.id = trep.getId();
View Full Code Here

    }

    @Override
    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof FieldSetPanelRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "FieldSetPanelRepresentation"));
        }
        super.populate(rep);
        FieldSetPanelRepresentation fsrep = (FieldSetPanelRepresentation) rep;
       
        this.cssClassName = fsrep.getCssClassName();
View Full Code Here

    }
   
    @Override
    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof LineGraphRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "LineGraphRepresentation"));
        }
        super.populate(rep);
        LineGraphRepresentation grep = (LineGraphRepresentation) rep;
        this.dataStructRep = new ArrayList<Map.Entry<String, String>>(grep.getDataStructure());
        this.dataTableRep = new ArrayList<List<String>>(grep.getDataTable());
View Full Code Here

    }

    @Override
    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof RangeFieldRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "RangeFieldRepresentation"));
        }
        super.populate(rep);
        RangeFieldRepresentation rrep = (RangeFieldRepresentation) rep;
        this.defaultValue = rrep.getDefaultValue();
        this.name = rrep.getName();
View Full Code Here

    }
   
    @Override
    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof TableRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "TableRepresentation"));
        }
        super.populate(rep);
        TableRepresentation trep = (TableRepresentation) rep;
        this.rows = trep.getRows();
        this.columns = trep.getColumns();
View Full Code Here

TOP

Related Classes of org.jbpm.formapi.client.FormBuilderException

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.