Subversion Repositories eFlore/Applications.coel

Rev

Rev 1714 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1714 Rev 1734
Line 35... Line 35...
35
import com.extjs.gxt.ui.client.widget.layout.FormLayout;
35
import com.extjs.gxt.ui.client.widget.layout.FormLayout;
36
import com.extjs.gxt.ui.client.widget.toolbar.ToolBar;
36
import com.extjs.gxt.ui.client.widget.toolbar.ToolBar;
37
import com.extjs.gxt.ui.client.widget.treepanel.TreePanel;
37
import com.extjs.gxt.ui.client.widget.treepanel.TreePanel;
38
import com.google.gwt.core.client.GWT;
38
import com.google.gwt.core.client.GWT;
39
import com.google.gwt.http.client.Request;
39
import com.google.gwt.http.client.Request;
40
import com.google.gwt.http.client.RequestBuilder;
40
import org.tela_botanica.client.http.RequestBuilderWithCredentials;
41
import com.google.gwt.http.client.RequestCallback;
41
import com.google.gwt.http.client.RequestCallback;
42
import com.google.gwt.http.client.RequestException;
42
import com.google.gwt.http.client.RequestException;
43
import com.google.gwt.http.client.Response;
43
import com.google.gwt.http.client.Response;
44
import com.google.gwt.json.client.JSONArray;
44
import com.google.gwt.json.client.JSONArray;
45
import com.google.gwt.json.client.JSONObject;
45
import com.google.gwt.json.client.JSONObject;
Line 255... Line 255...
255
	}
255
	}
Line 256... Line 256...
256
	
256
	
257
	public void getSommaireArbreModele() {
257
	public void getSommaireArbreModele() {
258
		String serviceUrl = ((Configuration) Registry.get(RegistreId.CONFIG)).getServiceBaseUrl();
258
		String serviceUrl = ((Configuration) Registry.get(RegistreId.CONFIG)).getServiceBaseUrl();
259
		String sommairePageUrl = serviceUrl+SERVICE_NOM+"/"+PAGE_SOMMAIRE_CODE+"/sommaire";
259
		String sommairePageUrl = serviceUrl+SERVICE_NOM+"/"+PAGE_SOMMAIRE_CODE+"/sommaire";
260
		RequestBuilder rb = new RequestBuilder(RequestBuilder.GET, sommairePageUrl);
260
		RequestBuilderWithCredentials rb = new RequestBuilderWithCredentials(RequestBuilderWithCredentials.GET, sommairePageUrl);
261
		try {
261
		try {
Line 262... Line 262...
262
			rb.sendRequest(null, new RequestCallback() {
262
			rb.sendRequest(null, new RequestCallback() {
263
	
263