Subversion Repositories eFlore/Applications.del

Rev

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

Rev 769 Rev 773
Line 18... Line 18...
18
	
18
	
Line 19... Line 19...
19
	private int nbTotalObservationsPourLaRecherche;
19
	private int nbTotalObservationsPourLaRecherche;
20
 
20
 
21
	public ObservationServiceResultat(JSONValue retourJson) {
-
 
22
		//TODO ajouter vérifications plus précises
21
	public ObservationServiceResultat(JSONValue retourJson) {
23
		Window.alert(retourJson.isObject().get("entete").isObject().get("total")+"");
22
		//TODO ajouter vérifications plus précises
24
		double total = retourJson.isObject().get("entete").isObject().get("total").isNumber().doubleValue();
23
		double total = retourJson.isObject().get("entete").isObject().get("total").isNumber().doubleValue();
Line 25... Line 24...
25
		nbTotalObservationsPourLaRecherche = (int) total;
24
		nbTotalObservationsPourLaRecherche = (int) total;