Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 989 Rev 1293
Line 13... Line 13...
13
import com.google.gwt.http.client.Request;
13
import com.google.gwt.http.client.Request;
14
import com.google.gwt.http.client.RequestBuilder;
14
import com.google.gwt.http.client.RequestBuilder;
15
import com.google.gwt.http.client.RequestCallback;
15
import com.google.gwt.http.client.RequestCallback;
16
import com.google.gwt.http.client.RequestException;
16
import com.google.gwt.http.client.RequestException;
17
import com.google.gwt.http.client.Response;
17
import com.google.gwt.http.client.Response;
18
import com.google.gwt.json.client.JSONArray;
-
 
19
import com.google.gwt.json.client.JSONBoolean;
-
 
20
import com.google.gwt.json.client.JSONObject;
18
import com.google.gwt.json.client.JSONObject;
21
import com.google.gwt.json.client.JSONParser;
19
import com.google.gwt.json.client.JSONParser;
22
import com.google.gwt.json.client.JSONString;
-
 
23
import com.google.gwt.json.client.JSONValue;
20
import com.google.gwt.json.client.JSONValue;
24
import com.google.gwt.user.client.Window;
21
import com.google.gwt.user.client.Window;
Line 25... Line 22...
25
 
22
 
Line 50... Line 47...
50
		
47
		
Line 51... Line 48...
51
		try {
48
		try {
Line -... Line 49...
-
 
49
			
52
			
50
			rb.sendRequest(null, new RequestCallback() {
Line 53... Line 51...
53
			rb.sendRequest(null, new RequestCallback() {
51
 
Line -... Line 52...
-
 
52
				@Override
54
 
53
				public void onError(Request request, Throwable exception) {
55
				public void onError(Request request, Throwable exception) {
54
				
Line 56... Line 55...
56
				
55
				}
57
				}
56
 
Line 88... Line 87...
88
		
87
		
Line 89... Line 88...
89
		try {
88
		try {
Line -... Line 89...
-
 
89
			
90
			
90
			rb.sendRequest(null, new RequestCallback() {
91
			rb.sendRequest(null, new RequestCallback() {
91
 
Line 92... Line 92...
92
 
92
				@Override
Line -... Line 93...
-
 
93
				public void onError(Request request, Throwable exception) {
93
				public void onError(Request request, Throwable exception) {
94
					// TODO Auto-generated method stub
94
					// TODO Auto-generated method stub
95
					
Line 95... Line 96...
95
					
96
				}
96
				}
97
 
Line 120... Line 121...
120
		
121
		
Line 121... Line 122...
121
		try {
122
		try {
Line -... Line 123...
-
 
123
			
122
			
124
			rb.sendRequest(null, new RequestCallback() {
123
			rb.sendRequest(null, new RequestCallback() {
125
 
Line 124... Line 126...
124
 
126
				@Override
Line -... Line 127...
-
 
127
				public void onError(Request request, Throwable exception) {
125
				public void onError(Request request, Throwable exception) {
128
					// TODO Auto-generated method stub
126
					// TODO Auto-generated method stub
129
					
Line 127... Line 130...
127
					
130
				}
128
				}
131
 
Line 157... Line 160...
157
			
160
			
Line 158... Line 161...
158
			String postData = "licence=1";
161
			String postData = "licence=1";
Line -... Line 162...
-
 
162
			
159
			
163
			rb.sendRequest(postData, new RequestCallback() {
160
			rb.sendRequest(postData, new RequestCallback() {
164
 
Line 161... Line 165...
161
 
165
				@Override
Line -... Line 166...
-
 
166
				public void onError(Request request, Throwable exception) {
162
				public void onError(Request request, Throwable exception) {
167
					// TODO Auto-generated method stub
163
					// TODO Auto-generated method stub
168
					
Line 164... Line 169...
164
					
169
				}
165
				}
170