code: public static UIComponent findChild(UIComponent parent, String id)
      {
          int childCount = parent.getChildCount();
          if (childCount > 0)
          {
              for (int i = 0; i < childCount; i++)
              {
                  UIComponent child = parent.getChildren().get(i);
                  if (id.equals(child.getId()))
                  {
                      return child;
                  }
              }
          }
          return null;
      }
docs: A lighter-weight version of UIComponent's findChild.
  
  @param parent
  parent to start searching from
  @param id
  to match to
  @return UIComponent found or null