NSMutableDictionary info = new NSMutableDictionary();
D2WContext d2wContext = null;
NSArray componentStack = ERXWOContext._componentPath(context);
// Try to get the information for the D2WPage closest to the end of the component stack, i.e., more specific
// info., that is especially helpful for finding problems in embedded page configurations.
WOComponent component = null;
for (Enumeration componentsEnum = componentStack.reverseObjectEnumerator(); componentsEnum.hasMoreElements();) {
WOComponent c = (WOComponent)componentsEnum.nextElement();
if (c instanceof D2WPage) {
component = c;
break;
}
}