*/
private void associateLabelToFormComponents(final ElementMetaData propertyMeta, Component component)
{
if (component instanceof MarkupContainer) {
MarkupContainer container = (MarkupContainer)component;
container.visitChildren(FormComponent.class, new IVisitor<Component>() {
public Object component(Component component)
{
FormComponent formComponent = (FormComponent)component;
formComponent.setLabel( new Model(propertyMeta.getLabel()) );
formComponent.add( new ErrorHighlightingBehavior() );