// Events //
  @Override
  protected void onInitialize() {
    super.onInitialize();

    this.datePicker = this.newDatePicker("datepicker", this.getModel(), this.datePattern);
    this.timePicker = this.newTimePicker("timepicker", this.getModel(), this.timePattern);

    this.add(this.datePicker);
    this.add(this.timePicker);
  }
  // Events //
  @Override
  protected void onInitialize() {
    super.onInitialize();

    this.add(
        this.newInputFragment(
            "model")); // cannot be in ctor as the model may not have been initialized before.
    this.add(
        JQueryWidget.newWidgetBehavior(
            this, this.label)); // cannot be in ctor as the markupId may be set manually afterward
  }
  // Events //
  @Override
  protected void onInitialize() {
    super.onInitialize();

    this.add(JQueryWidget.newWidgetBehavior(this, this.container));
  }