Modified the CompositeFormElement: instead of letting the CompositeFormElement call the accept on it's children I made a visitor method for the CompositeFormElement class.