Search in sources :

Example 1 with WebDatePicker

use of com.haulmont.cuba.web.gui.components.WebDatePicker in project cuba by cuba-platform.

the class WebDatePickerDsTest method autowireUiComponent.

@Override
protected void autowireUiComponent(Component component) {
    super.autowireUiComponent(component);
    WebDatePicker datePicker = (WebDatePicker) component;
    datePicker.setBeanLocator(beanLocator);
    datePicker.setDateTimeTransformations(new DateTimeTransformations());
}
Also used : DateTimeTransformations(com.haulmont.cuba.core.global.DateTimeTransformations) WebDatePicker(com.haulmont.cuba.web.gui.components.WebDatePicker)

Aggregations

DateTimeTransformations (com.haulmont.cuba.core.global.DateTimeTransformations)1 WebDatePicker (com.haulmont.cuba.web.gui.components.WebDatePicker)1