class MultipleInputFieldRenderer extends FieldRenderer<AbstractMultipleInputFieldDefinition, DefaultFormGroup> implements RequiresValueConverter {

    @Override
    protected FormGroup getFormGroup(RenderMode renderMode) {
        DefaultFormGroup formGroup = formGroupsInstance.get();

        input.setPageSize(field.getPageSize());
        input.init(field.getStandaloneClassName());

        if(field.getReadOnly() || !renderMode.equals(RenderMode.EDIT_MODE)) {
            setReadOnly(true);
        }

        formGroup.render(input.asWidget(), field);

        return formGroup;
    }

    @Inject public  MultipleInputFieldRenderer(MultipleInput input);

}