516,7 → 516,13 |
GWT.log("MESSAGES:\n"+info.getMessages().toString(), null); |
} |
String type = info.getType(); |
if (info.getType().equals("ajout_collection")) { |
if (info.getType().equals("liste_collection_a_commentaire")) { |
if (info.getDonnee(0) != null) { |
initialiser(); |
collection.setCommentairesLiees((CollectionACommentaireListe) info.getDonnee(0)); |
chargementCommentairesOk = true; |
} |
} else if (info.getType().equals("ajout_collection")) { |
if (info.getDonnee(0) != null && info.getDonnee(0) instanceof String) { |
String collectionId = (String) info.getDonnee(0); |
|
547,14 → 553,8 |
} else if (info.getType().equals("ajout_collection_a_commentaire")) { |
Info.display("Ajout des notes liées à la collection", info.toString()); |
initialiserGestionCommentaires(); |
} else if (info.getType().equals("liste_collection_a_commentaire")) { |
if (info.getDonnee(0) != null) { |
initialiser(); |
collection.setCommentairesLiees((CollectionACommentaireListe) info.getDonnee(0)); |
chargementCommentairesOk = true; |
} |
} |
} |
|
private void rafraichirCommentairesListe(CommentaireListe listeCommentaires) { |
commentairesSaisisComboBox.getStore().removeAll(); |