}
};
add(form);
form.add(dateTextField);
DatePicker datePicker = new DatePicker()
{
@Override
protected String getAdditionalJavaScript()
{
return "${calendar}.cfg.setProperty(\"navigator\",true,false); ${calendar}.render();";
}
};
datePicker.setShowOnFieldClick(true);
datePicker.setAutoHide(true);
dateTextField.add(datePicker);
add(new FeedbackPanel("feedback"));
Form<?> form2 = new Form<Void>("form2")
{