code: public static ComponentWithContext getComponentWithContextForId(final WComponent root,
  			final String id,
  			final boolean visibleOnly) {
  		FindComponentByIdVisitor visitor = new FindComponentByIdVisitor(id);
  		doTraverse(root, visibleOnly, visitor);
  		return visitor.getResult();
  	}
docs: Retrieves the context for the component with the given Id.
  
  @param root the root component to search from.
  @param id the id to search for.
  @param visibleOnly true if process visible only
  @return the context for the component with the given id, or null if not found.