super.renderHead(response);
// renders a JavaScript contribution in the <head> part of the page
response.render(JavaScriptHeaderItem.forScript("var context = 'ChildPanel';", ChildPanel.class.getSimpleName()));
JavaScriptContentHeaderItem itemToFilter = JavaScriptHeaderItem.forScript("var context = 'ChildPanel - filtered';", ChildPanel.class.getSimpleName() + " - filtered");
// using FilteredHeaderItem will render 'itemToFilter' in the HeaderResponseContainer that is assigned to
// ResourceManagementApplication.JS_IN_FOOTER_FILTER_NAME
response.render(new FilteredHeaderItem(itemToFilter, ResourceManagementApplication.JS_IN_FOOTER_FILTER_NAME));
}