id.setValue(groupDefinition.getId());
name.setValue(groupDefinition.getName());
recursive.setValue(groupDefinition.isRecursive());
description.setValue(groupDefinition.getDescription());
recalculationInterval.setValue(groupDefinition.getRecalculationInterval() / (60 * 1000));
Validator intervalValidator = new IsIntegerValidator();
intervalValidator.setErrorMessage(MSG.view_dynagroup_recalculationInterval_error());
recalculationInterval.setValidators(intervalValidator);
expression.setValue(groupDefinition.getExpression());
Validator nameValidator = new RegExpValidator("^[^\\<\\$\\'\\{\\[]{1,100}$");
nameValidator.setErrorMessage("Name must not contain following characters: < $ ' [ {");
name.setValidators(nameValidator);
final DynamicForm form = new DynamicForm();
form.setFields(id, name, description, templateSelectorTitleSpacer, templateSelector, expression, recursive,
recalculationInterval);