Package org.jbpm.formapi.shared.api.items

Examples of org.jbpm.formapi.shared.api.items.FileInputRepresentation


        }
    }

    @Override
    public FormItemRepresentation getRepresentation() {
        FileInputRepresentation rep = super.getRepresentation(new FileInputRepresentation());
        rep.setId(this.id);
        rep.setName(this.name);
        rep.setAccept(this.accept);
        return rep;
    }
View Full Code Here


    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof FileInputRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "FileInputRepresentation"));
        }
        super.populate(rep);
        FileInputRepresentation frep = (FileInputRepresentation) rep;
        this.id = frep.getId();
        this.name = frep.getName();
        this.accept = frep.getAccept();
        populate(this.fileUpload);
    }
View Full Code Here

TOP

Related Classes of org.jbpm.formapi.shared.api.items.FileInputRepresentation

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.