} catch (FilterException e) {
throw new FormException("Something went wrong happened while applying " + filter + ":\n" + e.getMessage(), e);
}
}
for (Element element : elements) {
ElementController controller = null;
if (PropertyFieldElement.class.isAssignableFrom(element.getClass())) {
controller = new PropertyElementController(this, (PropertyElement) element);
} else {
controller = new ElementController(this, element);
}
if (controller != null) {
controllers.add(controller);
}
}