code: public void addContainerElement(String name, CmsResource resource) {
  
          getContainerInfo(name).getResources().add(resource);
      }
docs: Adds a resource to a container as an element.<p>
  
  @param name the container name
  @param resource the resource to add as a container elementv