}
private void initBindings() {
bindingGroup = new BindingGroup();
minimumLengthValidator = new MinimumLengthValidator(5);
numberValidator = new NumberValidator();
Binding binding = FormHelper.createBinding(this, "event", "name", nameField, "text");
binding.setValidator(minimumLengthValidator);
bindingGroup.addBinding(binding);