elementContent = new CollectionElement(element);
} else {
final ObjectAdapter obj = ((OneToManyField) view.getContent()).getParent();
// ObjectAdapter obj = view.getParent().getContent().getAdapter();
final ObjectAdapter parent = obj;
elementContent = new OneToManyFieldElementImpl(parent, element, field);
}
elementView = subviewDesign.createView(elementContent, axes, elementNumber++);
}
// TODO if reusing view then probably should decorate it again!
if (elementView != null) {