type.setChoiceRenderer(new PolicyTypeRenderer());
type.addRequiredLabel();
form.add(type);
final AbstractPolicySpec policy = getPolicySpecification(policyTO);
form.add(new PolicyBeanPanel("panel", policy));
final AjaxButton submit = new ClearIndicatingAjaxButton("apply", new ResourceModel("apply"), pageRef) {