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);
}