code: private Map<String, String> getContentsByContainerName(
          CmsContainerElementBean element,
          Collection<CmsContainer> containers) {
  
          CmsFormatterConfiguration configs = getFormatterConfiguration(element.getResource());
          Map<String, String> result = new HashMap<String, String>();
          for (CmsContainer container : containers) {
              String content = getContentByContainer(element, container, configs);
              if (content != null) {
                  content = removeScriptTags(content);
              }
              result.put(container.getName(), content);
          }
          return result;
      }
docs: Returns the rendered element content for all the given containers.
  
  @param element the element to render
  @param containers the containers the element appears in
  
  @return a map from container names to rendered page contents