}
@Override
public void populate(FormItemRepresentation rep) throws FormBuilderException {
if (!(rep instanceof ConditionalBlockRepresentation)) {
throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "ConditionalBlockRepresentation"));
}
super.populate(rep);
ConditionalBlockRepresentation srep = (ConditionalBlockRepresentation) rep;
this.conditionScript = srep.getCondition();
FormItemRepresentation ifRep = srep.getIfBlock();