reflect changed dateformat on server
| | |
| | | import java.text.DateFormat; |
| | | import java.text.ParseException; |
| | | import java.util.Date; |
| | | import java.util.Locale; |
| | | |
| | | public class DateProperty extends AbstractProperty { |
| | | |
| | | public static final DateFormat serverDf = DateFormat.getDateInstance(DateFormat.SHORT); |
| | | public static final DateFormat serverDf = DateFormat.getDateInstance(DateFormat.SHORT, Locale.GERMAN); |
| | | |
| | | final private Date property; |
| | | |
| | |
| | | import java.text.DateFormat; |
| | | import java.text.ParseException; |
| | | import java.util.Date; |
| | | import java.util.Locale; |
| | | |
| | | import com.vaadin.data.Property.ConversionException; |
| | | import com.vaadin.data.Property.ReadOnlyException; |
| | |
| | | |
| | | public class DatePropertyFieldFactory implements PropertyFieldFactory { |
| | | |
| | | public static final DateFormat serverDf = DateFormat.getDateInstance(DateFormat.SHORT); |
| | | public static final DateFormat serverDf = DateFormat.getDateInstance(DateFormat.SHORT, Locale.GERMAN); |
| | | |
| | | private boolean readOnly = false; |
| | | private boolean writeOnce = false; |
| | |
| | | import java.util.Date; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Locale; |
| | | import java.util.Map; |
| | | |
| | | import com.vaadin.data.Property; |
| | |
| | | public class TableComponentFactory implements ComponentFactory, Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | private static final DateFormat serverDateFormat = DateFormat.getDateInstance(DateFormat.SHORT); |
| | | private static final DateFormat serverDateFormat = DateFormat.getDateInstance(DateFormat.SHORT, Locale.GERMAN); |
| | | |
| | | private Module module; |
| | | private Table table; |