private Form form = null;
public DateTimeFieldPanel(final String id, final String name, final IModel<Date> model, final String datePattern) {
super(id, name, model, datePattern);
field = new DateTimeField("field", model);
final Calendar cal = Calendar.getInstance();
field.get("hours").add(new AjaxFormComponentUpdatingBehavior(Constants.ON_CHANGE) {