public Form<?> createDatePickerForm(final String markupId) {
Form<DateBean> form = new Form<DateBean>(markupId,
new CompoundPropertyModel<DateBean>(
new PropertyModel<DateBean>(this, "dateBean")));
add(form);
DateTextField dueDate = new DateTextField("dueDate");
form.add(dueDate);
form.add(new AjaxSubmitLink("submit", form) {
private static final long serialVersionUID = -2647897814406807218L;