// 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);
  }
Exemplo n.º 2
0
  // 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
  }
Exemplo n.º 3
0
  // Events //
  @Override
  protected void onInitialize() {
    super.onInitialize();

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