docs: protected Panel createResourceListPanelDirectly(String caption, List<CmsResourceInfo> resourceInfo) {
  
          Panel result = new Panel(caption);
          result.addStyleName("v-scrollable");
          result.setSizeFull();
          VerticalLayout resourcePanel = new VerticalLayout();
          result.setContent(resourcePanel);
          resourcePanel.addStyleName(OpenCmsTheme.REDUCED_MARGIN);
          resourcePanel.addStyleName(OpenCmsTheme.REDUCED_SPACING);
          resourcePanel.setSpacing(true);
          resourcePanel.setMargin(true);
          for (CmsResourceInfo resource : resourceInfo) {
              resourcePanel.addComponent(resource);
          }
          return result;
      }