Subversion Repositories eFlore/Applications.coel

Rev

Rev 786 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 786 Rev 788
Line 420... Line 420...
420
				//publications = (CollectionAPublicationListe) info.getDonnee(0);
420
				//publications = (CollectionAPublicationListe) info.getDonnee(0);
421
				peupler();
421
				peupler();
422
			}
422
			}
423
		} else if (type.equals("publication_modifiee")) {
423
		} else if (type.equals("publication_modifiee")) {
424
			if (info.getDonnee(0) != null) {
424
			if (info.getDonnee(0) != null) {
425
				GWT.log("Mise à jour de la grille en cours", null);
-
 
426
				Publication publication = (Publication) info.getDonnee(0);
425
				Publication publication = (Publication) info.getDonnee(0);
427
				Publication publicationDansGrille = grille.getStore().findModel("id_publication", publication.getId());
426
				Publication publicationDansGrille = grille.getStore().findModel("id_publication", publication.getId());
428
				publicationDansGrille.mettreAJour(publication);
427
				publicationDansGrille.mettreAJour(publication);
429
				grille.getStore().update(publicationDansGrille);
428
				grille.getStore().update(publicationDansGrille);
430
				grille.getStore().commitChanges();
429
				grille.getStore().commitChanges();