public void populate(FormItemRepresentation rep) throws FormBuilderException {
if (!(rep instanceof CanvasRepresentation)) {
throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "CanvasRepresentation"));
}
super.populate(rep);
CanvasRepresentation crep = (CanvasRepresentation) rep;
this.fallbackUrl = crep.getFallbackUrl();
this.cssClassName = crep.getCssClassName();
this.id = crep.getId();
this.dataType = crep.getDataType();
populate(this.canvas);
}