docs: public static void saveCompositeComponentForResolver(FacesContext facesContext, Location location, int ccLevel)
      {
          UIComponent cc = ccLevel > 0 ? getCompositeComponentBasedOnLocation(facesContext, location, ccLevel)
                  : getCompositeComponentBasedOnLocation(facesContext, location);
          List<UIComponent> list = (List<UIComponent>) facesContext.getAttributes().get(CURRENT_COMPOSITE_COMPONENT_KEY);
          if (list == null)
          {
              list = new ArrayList<UIComponent>();
              facesContext.getAttributes().put(CURRENT_COMPOSITE_COMPONENT_KEY, list);
          }
          list.add(cc);
      }