Logger.getLogger(FormBuilderInternalRenderer.class.getName()).log(Level.SEVERE, null, ex);
}
break;
case "deleteconstraint":
try {
FormBuilderItemDeleteConstraint deleteConstraint = mapper.readValue(formContentString, FormBuilderItemDeleteConstraint.class);
for (FormBuilderItemBase tmpItem : formBuilder.getForm().getItems()) {
if (tmpItem.getId().equals(deleteConstraint.getItemUuid())) {
boolean deleted = false;
for (Iterator<Constraint> it = tmpItem.getConstraints().iterator(); it.hasNext();) {
Constraint constraint = it.next();
if (constraint.hashCode() == Integer.parseInt(deleteConstraint.getHashCode())) {
it.remove();
tmpItem.getProperties().setMaximise(Boolean.TRUE);
deleted = true;
break;
}