{
// NOTE JavascriptResourceReference takes care of stripping comments
// when in deployment (production) mode
response.renderJavascriptReference(new JavascriptResourceReference(DatePicker.class,
"dhtmlgoodies_calendar.js"));
response.renderCSSReference(new CompressedResourceReference(DatePicker.class,
"dhtmlgoodies_calendar.css"));
// Set the icons image path
response.renderOnLoadJavascript("setImagePath(\"" + RequestCycle.get().urlFor(new ResourceReference(DatePicker.class, "images/")) + "\")");
// Set the language code of the current session