aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/components/abstractfield/DateFieldBackedByString.java
blob: d4b2f8952290a5cd282e802433b7b1dcb88b9aed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.vaadin.tests.components.abstractfield;

import com.vaadin.ui.DateField;

public class DateFieldBackedByString extends AbstractComponentDataBindingTest {

    private String s = null;

    @Override
    protected void createFields() {
        DateField df = new DateField("Date field");
        addComponent(df);
        df.setPropertyDataSource(new com.vaadin.data.util.ObjectProperty<String>(
                s, String.class));

    }
}