HSAdmin Backend Domains, E-Mail, Datenbanken
peter
2013-05-28 d72bca45160522468862e91f914758a3d68330dc
reflect changed dateformat on server
3 files modified
9 ■■■■■ changed files
hsarweb/src/de/hsadmin/web/DateProperty.java 3 ●●●● patch | view | raw | blame | history
hsarweb/src/de/hsadmin/web/vaadin/DatePropertyFieldFactory.java 3 ●●●● patch | view | raw | blame | history
hsarweb/src/de/hsadmin/web/vaadin/TableComponentFactory.java 3 ●●●● patch | view | raw | blame | history
hsarweb/src/de/hsadmin/web/DateProperty.java
@@ -3,10 +3,11 @@
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;
hsarweb/src/de/hsadmin/web/vaadin/DatePropertyFieldFactory.java
@@ -3,6 +3,7 @@
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;
@@ -19,7 +20,7 @@
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;
hsarweb/src/de/hsadmin/web/vaadin/TableComponentFactory.java
@@ -7,6 +7,7 @@
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;
@@ -37,7 +38,7 @@
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;