dateInput.setConverter(new DateConverter(dateFormat));
dateInput.setConverter(getDateConverter(dateFormat));
    protected HtmlComponent createTextField(Object object, Class type) {        Date date = (Date) object;                Locale locale = getLocale();        SimpleDateFormat dateFormat = new SimpleDateFormat(getFormat(), locale);                HtmlTextInput dateInput = new HtmlTextInput();                if (date != null) {            dateInput.setValue(dateFormat.format(date));        }                dateInput.setConverter(new DateConverter(dateFormat));                HtmlContainer container = new HtmlInlineContainer();        container.addChild(dateInput);        container.addChild(new HtmlText(getFormat()));                return container;    }