</BUG>
ipi.setNextPage(context().page());
return (WOComponent)ipi;
} else {
<BUG>InspectPageInterface inspectpageinterface = D2W.factory().inspectPageForEntityNamed(localInstance().entityName(), session());

inspectpageinterface.setObject(localInstance());
</BUG>
inspectpageinterface.setNextPage(context().page());
return (WOComponent)inspectpageinterface;

public WOComponent inspectObjectAction() {
WOComponent result = null;
String inspectConfigurationName=(String)d2wContext().valueForKey("inspectConfigurationName");
if(inspectConfigurationName!=null) {
InspectPageInterface ipi=(InspectPageInterface)D2W.factory().pageForConfigurationNamed(inspectConfigurationName,session());
ipi.setObject(object());
ipi.setNextPage(context().page());
return (WOComponent)ipi;
} else {
InspectPageInterface inspectpageinterface = D2W.factory().inspectPageForEntityNamed(object().entityName(), session());
inspectpageinterface.setObject(object());
inspectpageinterface.setNextPage(context().page());
return (WOComponent)inspectpageinterface;
