docs: @Deprecated
      public static void markForDeletion(UIComponent component)
      {
          // flag this component as deleted
          component.getAttributes().put(MARK_DELETED, Boolean.TRUE);
  
          Iterator<UIComponent> iter = component.getFacetsAndChildren();
          while (iter.hasNext())
          {
              UIComponent child = iter.next();
              if (child.getAttributes().containsKey(MARK_CREATED))
              {
                  child.getAttributes().put(MARK_DELETED, Boolean.TRUE);
              }
          }
      }