code: public void hide(AjaxRequestTarget ajaxRequestTarget, short speed)
  	{
  		ajaxRequestTarget.appendJavaScript(this.hide(speed).render().toString());
  	}
docs: Method to hide the datepicker within the ajax request
  
  @param ajaxRequestTarget
  @param speed
  The speed at which to close the date picker.