public static WComponent getRoot ( final UIContext uic , final WComponent comp ) { UIContextHolder . pushContext ( uic ) ; try { return WebUtilities . getTop ( comp ) ; } finally { UIContextHolder . popContext ( ) ; } }
Retrieves the root component of a WComponent hierarchy .