response
.renderJavascriptReference(new JavascriptResourceReference(YuiLib.class, "event.js"));
response.renderJavascriptReference(new JavascriptResourceReference(YuiLib.class, "dom.js"));
response.renderJavascriptReference(new JavascriptResourceReference(DatePicker.class,
"calendar.js"));
response.renderCSSReference(new CompressedResourceReference(DatePicker.class,
"assets/calendar.css"));
response.renderJavascriptReference(new JavascriptResourceReference(DatePicker.class,
"wicket-date.js"));
// TODO rewrite to use a template. This code has become too messy with