code: public DateTextField getDateTextField(){
  		DateTextField component = visitChildren(DateTextField.class, new IVisitor<DateTextField, DateTextField>() {
  			@Override
  			public void component(DateTextField arg0, IVisit<DateTextField> arg1) {
  				arg1.stop(arg0);
  			}
  		});
  
  		if (component == null)
  			throw new WicketRuntimeException("BootstrapDatepicker didn't have any DateTextField child!");
  
  		return component;
  	}
docs: Gets the DateTextField inside this datepicker wrapper.
  
  @return the date field