// Fire usage event.
if (widget.isUseInStatistics())
{
request.setAttribute("sectionid", tp.getId());
new DSpace().getEventService().fireEvent(
new UsageEvent(UsageEvent.Action.VIEW, request,
UIUtil.obtainContext(request),
applicationService.getEntityByCrisId(id,
getTargetObject())));
}
}