code: private CmsContainerPageBean generateContainerPageForContainers(
          Collection<CmsContainer> containers,
          String containerpageRootPath)
      throws CmsException {
  
          List<CmsContainerBean> containerBeans = new ArrayList<CmsContainerBean>();
          for (CmsContainer container : containers) {
              CmsContainerBean containerBean = getContainerBeanToSave(container, containerpageRootPath);
              containerBeans.add(containerBean);
          }
          CmsContainerPageBean page = new CmsContainerPageBean(containerBeans);
          return page;
      }
docs: Generates the XML container page bean for the given containers.<p>
  
  @param containers the containers
  @param containerpageRootPath the container page root path
  
  @return the container page bean
  @throws CmsException in case generating the page data fails