code: @Override
      protected void onAfterRender()
      {
          super.onAfterRender();
          final IDateListener container = this.findParent(IDateListener.class);
          if (container != null) {
              container.addDateComponent(this);
          }
      }
docs: After rendering the datefields are added to the parent.