if(includeJquery)
super.renderHead(response);
response.renderCSSReference(DATEPICKER_CSS);
response.renderJavascriptReference(DATE_JS);
try {
WebClientInfo info = (WebClientInfo) RequestCycle.get().getClientInfo();
if (info.getUserAgent().contains("MSIE")) {
response.renderJavascriptReference(JQUERY_BGIFRAME_JS);
}
} catch (ClassCastException exc) {
logger().info("can't find info about client", exc);
}