Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 786 Rev 788
Line 76... Line 76...
76
		String postDonneesEncodees = publication.obtenirChainePOST()+"&cmhl_ce_modifier_par="+utilisateurId;
76
		String postDonneesEncodees = publication.obtenirChainePOST()+"&cmhl_ce_modifier_par="+utilisateurId;
Line 77... Line 77...
77
		
77
		
78
		rb.envoyerRequete(postDonneesEncodees, new JsonRestRequestCallback() {
78
		rb.envoyerRequete(postDonneesEncodees, new JsonRestRequestCallback() {
79
			@Override
79
			@Override
80
			public void surReponse(JSONValue reponseValeur) {
-
 
81
				GWT.log("dans Asynch", null);
80
			public void surReponse(JSONValue reponseValeur) {
82
				traiterReponse(reponseValeur, "publication_valide");
81
				traiterReponse(reponseValeur, "publication_valide");
83
			}
82
			}
84
		});
83
		});
Line 101... Line 100...
101
		if (reponseValeur.isString() != null) {
100
		if (reponseValeur.isString() != null) {
102
			info.setDonnee(reponseValeur.isString().stringValue());
101
			info.setDonnee(reponseValeur.isString().stringValue());
103
		} else {
102
		} else {
104
			info.setDeboguage("La réponse n'est pas une chaine JSON.");
103
			info.setDeboguage("La réponse n'est pas une chaine JSON.");
105
		}
104
		}
106
		GWT.log("dans traiterReponse"+vueARafraichir.getClass(), null);
-
 
107
		vueARafraichir.rafraichir(info);
105
		vueARafraichir.rafraichir(info);
108
	}
106
	}
Line 109... Line 107...
109
 
107