code: public static String getPathToRoot(final WComponent component) {
  		StringBuffer buf = new StringBuffer();
  
  		for (WComponent node = component; node != null; node = node.getParent()) {
  			if (buf.length() != 0) {
  				buf.insert(0, '\n');
  			}
  
  			buf.insert(0, node.getClass().getName());
  		}
  
  		return buf.toString();
  	}
docs: Retrieves a "path" of component classes from the given component to the root node. The path is formatted with one
  component on each line, with the first line being the root node.
  
  @param component the component to retrieve the path for
  @return a "path" of class names from the component to the root.