return null;
}
if (m_elementReplacements.containsKey(originalElement.getId())) {
return new CmsContainerElementBean(
m_elementReplacements.get(originalElement.getId()),
<BUG>originalElement.getFormatterId(),
originalElement.getIndividualSettings(),
originalElement.isCreateNew());</BUG>
} else {
CmsResource originalResource = m_cms.readResource(

return null;
}
if (m_elementReplacements.containsKey(originalElement.getId())) {
return new CmsContainerElementBean(
m_elementReplacements.get(originalElement.getId()),
maybeReplaceFormatter(originalElement.getFormatterId()),
maybeReplaceFormatterInSettings(originalElement.getIndividualSettings()),
originalElement.isCreateNew());
} else {
CmsResource originalResource = m_cms.readResource(
