code: public static WComponent getRoot(final UIContext uic, final WComponent comp) {
  		UIContextHolder.pushContext(uic);
  
  		try {
  			return WebUtilities.getTop(comp);
  		} finally {
  			UIContextHolder.popContext();
  		}
  	}
docs: Retrieves the root component of a WComponent hierarchy.
  
  @param uic the context to retrieve the root component for.
  @param comp a component in the tree.
  @return the root of the tree.