docs: public static CmsContainerPageBean getDetailOnlyPage(CmsObject cms, ServletRequest req, String pageRootPath) {
  
          CmsJspStandardContextBean standardContext = CmsJspStandardContextBean.getInstance(req);
          CmsContainerPageBean detailOnlyPage = standardContext.getDetailOnlyPage();
          if (standardContext.isDetailRequest() && (detailOnlyPage == null)) {
  
              try {
                  CmsObject rootCms = OpenCms.initCmsObject(cms);
                  rootCms.getRequestContext().setSiteRoot("");
                  String locale = getDetailContainerLocale(
                      cms,
                      cms.getRequestContext().getLocale().toString(),
                      cms.readResource(cms.getRequestContext().getUri()));
  
                  String resourceName = getDetailOnlyPageNameWithoutLocaleCheck(
                      standardContext.getDetailContent().getRootPath(),
                      locale);
                  CmsResource resource = null;
                  if (rootCms.existsResource(resourceName)) {
                      resource = rootCms.readResource(resourceName);
                  } else {
                      // check if the deprecated locale independent detail container page exists
                      resourceName = getDetailOnlyPageNameWithoutLocaleCheck(
                          standardContext.getDetailContent().getRootPath(),
                          null);
                      if (rootCms.existsResource(resourceName)) {
                          resource = rootCms.readResource(resourceName);
                      }
                  }
  
                  CmsXmlContainerPage xmlContainerPage = null;
                  if (resource != null) {
                      xmlContainerPage = CmsXmlContainerPageFactory.unmarshal(rootCms, resource, req);
                  }
                  if (xmlContainerPage != null) {
                      detailOnlyPage = xmlContainerPage.getContainerPage(rootCms);
                      detailOnlyPage = CmsTemplateMapper.get(req).transformContainerpageBean(
                          rootCms,
                          detailOnlyPage,
                          pageRootPath);
                      standardContext.setDetailOnlyPage(detailOnlyPage);
                  }
              } catch (CmsException e) {
                  LOG.error(e.getLocalizedMessage(), e);
              }
          }
          return detailOnlyPage;
      }