Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1319 Rev 1329
Line 159... Line 159...
159
		rb.envoyerRequete(null, new JsonRestRequestCallback() {
159
		rb.envoyerRequete(null, new JsonRestRequestCallback() {
160
			@Override
160
			@Override
161
			public void surReponse(JSONValue responseValue) {
161
			public void surReponse(JSONValue responseValue) {
162
				if (responseValue.isArray() != null) {
162
				if (responseValue.isArray() != null) {
163
					final JSONArray reponse = responseValue.isArray();
163
					final JSONArray reponse = responseValue.isArray();
164
					if (reponse.get(1).isString() != null)	{
164
					if (reponse.get(0).isString() != null)	{
165
						String licenceAcceptee = reponse.get(1).isString().stringValue();
165
						String licenceAcceptee = reponse.get(0).isString().stringValue();
166
						Information info = new Information("maj_licence");
166
						Information info = new Information("maj_licence");
167
						info.setDonnee(0, licenceAcceptee);
167
						info.setDonnee(0, licenceAcceptee);
168
						vueARafraichir.rafraichir(info);
168
						vueARafraichir.rafraichir(info);
169
					}
169
					}
170
				}
170
				}