variables.put("datePattern", getDatePattern());
variables.put("fireChangeEvent", Boolean.valueOf(notifyComponentOnDateSelected()));
variables.put("alignWithIcon", Boolean.valueOf(alignWithIcon()));
// variables for YUILoader
variables.put("pathToWicketDate", RequestCycle.get().urlFor(
new JavascriptResourceReference(DatePicker.class, "wicket-date.js")));
variables.put("basePath", RequestCycle.get().urlFor(
new JavascriptResourceReference(YuiLib.class, "")));
variables.put("enableMonthYearSelection", Boolean.valueOf(enableMonthYearSelection()));
variables.put("hideOnSelect", Boolean.valueOf(hideOnSelect()));
String script = getAdditionalJavascript();
if (script != null)
{