docs: protected String getContainerData(CmsObject cms, int maxElements, boolean isDetailView, boolean isDetailOnly) {
  
          int width = -1;
          try {
              if (getWidth() != null) {
                  width = Integer.parseInt(getWidth());
              }
          } catch (NumberFormatException e) {
              //ignore; set width to -1
              LOG.debug("Error parsing container width.", e);
          }
          CmsContainer cont = new CmsContainer(
              getName(),
              getType(),
              m_bodyContent,
              width,
              maxElements,
              isDetailView,
              !m_hasModelGroupAncestor && isEditable(cms),
              null,
              m_parentContainer != null ? m_parentContainer.getName() : null,
              m_parentElement != null ? m_parentElement.getInstanceId() : null,
              m_settingPresets);
          cont.setDeatilOnly(isDetailOnly);
          String result = "";
          try {
              result = CmsContainerpageService.getSerializedContainerInfo(cont);
          } catch (Exception e) {
              LOG.error(e.getLocalizedMessage(), e);
          }
  
          return result;
      }