Subversion Repositories eFlore/Applications.coel

Rev

Rev 761 | Rev 822 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 761 Rev 784
Line 43... Line 43...
43
					} else if (responseValue.isArray() != null) {
43
					} else if (responseValue.isArray() != null) {
44
						final JSONArray reponse = responseValue.isArray();
44
						final JSONArray reponse = responseValue.isArray();
45
						PublicationAPersonneListe publicationsAPersonneListe = new PublicationAPersonneListe(reponse);
45
						PublicationAPersonneListe publicationsAPersonneListe = new PublicationAPersonneListe(reponse);
46
						vueARafraichir.rafraichir(publicationsAPersonneListe);
46
						vueARafraichir.rafraichir(publicationsAPersonneListe);
47
					} else {
47
					} else {
48
						GWT.log("La réponse n'est pas un objet ou un talbeau JSON et vaut : "+responseValue.toString(), null);
48
						GWT.log("La réponse n'est pas un objet ou un tableau JSON et vaut : "+responseValue.toString(), null);
49
					}
49
					}
50
				} else {
50
				} else {
51
					// Dans le cas, où nous demandons toutes les publication et qu'il n'y en a pas, nous retournons un objet vide
51
					// Dans le cas, où nous demandons toutes les publication et qu'il n'y en a pas, nous retournons un objet vide
52
					PublicationAPersonneListe publicationAPersonneListe = new PublicationAPersonneListe(0);
52
					PublicationAPersonneListe publicationAPersonneListe = new PublicationAPersonneListe(0);
53
					vueARafraichir.rafraichir(publicationAPersonneListe);
53
					vueARafraichir.rafraichir(publicationAPersonneListe);