use of uk.nhs.digital.website.beans.VisualHub in project hippo by NHS-digital-website.
the class SystemServicesComponent method doBeforeRender.
@Override
public void doBeforeRender(HstRequest request, HstResponse response) {
super.doBeforeRender(request, response);
final HstRequestContext ctx = request.getRequestContext();
VisualHub visualHub = (VisualHub) ctx.getContentBean();
if (visualHub != null) {
request.setAttribute("document", visualHub);
}
}
Aggregations