code: public static UIComponent findComponent(UIComponent c, String id) {
  		if (id.equals(c.getId())) {
  			return c;
  		}
  		Iterator<UIComponent> kids = c.getFacetsAndChildren();
  		while (kids.hasNext()) {
  			UIComponent found = findComponent(kids.next(), id);
  			if (found != null) {
  				return found;
  			}
  		}
  		return null;
  	}
docs: Finds component with the given id