This is the response: <html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>Countries</title></head><body> 0_0_Denmark:0_1_1102;1_0_Sweden:1_1_8;2_0_Faroe Islands: 2_1_8;3_0_Iceland:3_1_4;4_0_Norway:4_1_1;5_0_Europe:5_1_11;6_0_United Kingdom:6_1_8;7_0_Germany:7_1_6;8_0_France:8_1_3;9_0_Spain: 9_1_2;10_0_Netherlands:10_1_2;11_0_Italy:11_1_1;12_0_Portugal: 12_1_1;13_0_Austria:13_1_1;14_0_United States:14_1_6;15_0_Canada: 15_1_1;16_0_Russian Federation:16_1_2;17_0_Poland:17_1_1;18_0_Hungary: 18_1_1;19_0_Hong Kong:19_1_1;20_0_Japan:20_1_1;21_0_China: 21_1_1;22_0_Costa Rica:22_1_1;23_0_Kenya:23_1_1;24_0_South Africa: 24_1_1;</body></html>
Im not getting any error On 25 Mar., 18:03, VizBoy <[email protected]> wrote: > In order to help you find the problem, we will need to see the response from > the server. > So yes, either put it up on another domain or perhaps try to paste in a > response... > Do you get any error message? > > - VizBoy. > > On Wed, Mar 25, 2009 at 5:54 PM, [email protected] <[email protected]>wrote: > > > > > Hey, > > > Im new to this GWT developing. > > > I am trying to implement the GeoMap and I want the data to it from > > another destination. > > > fore example when I'll try to get the spreadsheet it works perfectly, > > but when I'll try with a php-file which I created myself, then it > > won't work? > > Shall the document have a specific syntax or are we talking server > > setup? > > > This is my code: (I have hided my domain, but if you need to test it > > let me know, and I will put it up in another domain) > > String str = "http://url.dk/getountries.php"; > > //str = "http://spreadsheets.google.com/pub?key=pCQbetd- > > CptH5QNY89vLtAg<http://spreadsheets.google.com/pub?key=pCQbetd-%0ACptH5QNY89vLtAg> > > "; > > Query query = Query.create(str); > > > query.send(new Callback(){ > > public void onResponse(QueryResponse response) { > > if (response.isError()) { > > Window.alert("An error occured: " + str + " " + > > response.getMessage()); > > } > > else > > { > > Window.alert("gi gas"); > > } > > } > > }); > > > I hope you can help me :-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en -~----------~----~----~----~------~----~------~--~---
