7,6 → 7,7 |
import org.tela_botanica.del.client.modeles.PropositionDetermination; |
|
import com.google.gwt.core.client.GWT; |
import com.google.gwt.i18n.client.DateTimeFormat; |
import com.google.gwt.uibinder.client.UiBinder; |
import com.google.gwt.uibinder.client.UiField; |
import com.google.gwt.user.client.ui.Composite; |
54,7 → 55,7 |
if (propositionDetermination.getCommentaire() != null && propositionDetermination.getCommentaire() != "") { |
htmlTableau.setHTML(2, 1, propositionDetermination.getAuteur()); |
htmlTableau.setHTML(2, 2, propositionDetermination.getCommentaire()); |
htmlTableau.setHTML(2, 3, propositionDetermination.getDate() + ""); |
htmlTableau.setHTML(2, 3, DateTimeFormat.getFormat("dd/MM/yyyy").format(propositionDetermination.getDate())); |
} |
|
creerListeCommentaireRecursive(propositionDetermination.getListeCommentaires()); |
82,7 → 83,7 |
int ligne = htmlTableau.getRowCount() + 1; |
htmlTableau.setHTML(ligne, 1, commentaire.getAuteur()); |
htmlTableau.setHTML(ligne, 2, commentaire.getCommentaire()); |
htmlTableau.setHTML(ligne, 3, commentaire.getDate() + ""); |
htmlTableau.setHTML(ligne, 3, DateTimeFormat.getFormat("dd/MM/yyyy").format(commentaire.getDate())); |
} |
|
/** |