Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 277 Rev 296
Line 5... Line 5...
5
 
5
 
6
import org.tela_botanica.client.RegistreId;
6
import org.tela_botanica.client.RegistreId;
Line 7... Line 7...
7
import org.tela_botanica.client.modeles.Configuration;
7
import org.tela_botanica.client.modeles.Configuration;
-
 
8
 
8
 
9
import com.extjs.gxt.ui.client.Registry;
-
 
10
import com.google.gwt.core.client.GWT;
Line 9... Line 11...
9
import com.extjs.gxt.ui.client.Registry;
11
import com.google.gwt.http.client.RequestBuilder;
Line 10... Line 12...
10
import com.google.gwt.http.client.RequestBuilder;
12
import com.google.gwt.http.client.URL;
11
 
13
 
Line 78... Line 80...
78
			for (int i=0; i < arrParametres.length; i++)	{
80
			for (int i=0; i < arrParametres.length; i++)	{
79
				strParametres += arrParametres[i]+ "/";
81
				strParametres += arrParametres[i]+ "/";
80
			}
82
			}
81
		}
83
		}
Line 82... Line 84...
82
		
84
		
-
 
85
		String wholeUrl = baseUrl + nomService + strParametres + restrictions;
-
 
86
		wholeUrl = URL.encode(wholeUrl);
-
 
87
		
-
 
88
		GWT.log("Envoi d'une requĂȘte: " + wholeUrl, null);
Line 83... Line -...
83
		System.out.println(baseUrl + nomService + strParametres + restrictions);
-
 
84
		
89
		RequestBuilder rb = new RequestBuilder(RequestBuilder.GET, wholeUrl);
85
		RequestBuilder rb = new RequestBuilder(RequestBuilder.GET, baseUrl + nomService + strParametres + restrictions);
90
		
Line 86... Line 91...
86
		return rb;
91
		return rb;
87
	}
92
	}