code: protected void removeContainerElements(String resourceId) {
  
          boolean changed = false;
          Iterator<org.opencms.ade.containerpage.client.ui.CmsContainerPageElementPanel> it = getAllDragElements().iterator();
          while (it.hasNext()) {
              org.opencms.ade.containerpage.client.ui.CmsContainerPageElementPanel containerElement = it.next();
              if (resourceId.startsWith(containerElement.getId())) {
                  containerElement.removeFromParent();
                  changed = true;
              }
          }
          for (String elementId : m_elements.keySet()) {
              if (elementId.startsWith(resourceId)) {
                  m_elements.remove(elementId);
              }
          }
          if (changed) {
              setPageChanged();
          }
      }
docs: Removes all container elements with the given id from all containers and the client side cache.<p>
  
  @param resourceId the resource id