Hello, I woulds like to create a dateBox with today date into it. But i want to change de date format and I always got an error. Here what I do :
Code : //Déclaration private final DateBox dateMisAJour = new DateBox(); ... DateTimeFormat format = new DateTimeFormat("dd/MM/yyyy"); this.dateMisAJour.setDateFormat(format); this.dateMisAJour.getDatePicker().setSelectedDate(new Date()); this.dateMisAJour.setEnabled(false); ..... this.bandeauMiseAJour.add(dateMisAJour); The instanciate of DateTimeFormat always underline "new DateTimeFormat ("dd/MM/yyyy");" to indicate an error but dont show any proposition. What it's most weird is that DateTimeFormat take a string as a parameter. Please help ! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---