public void setDate ( AjaxRequestTarget ajaxRequestTarget , DateOption dateOption ) { ajaxRequestTarget . appendJavaScript ( this . setDate ( dateOption ) . render ( ) . toString ( ) ) ; }
Method to set the date of the datepicker within the ajax request