public void populate(FormItemRepresentation rep) throws FormBuilderException {
if (!(rep instanceof ClientScriptRepresentation)) {
throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "ClientScriptRepresentation"));
}
super.populate(rep);
ClientScriptRepresentation csrep = (ClientScriptRepresentation) rep;
this.src = csrep.getSrc();
this.type = csrep.getType();
populate(this.script);
}