Re: Reading a file in a GWT-written Gadget

2011-01-18 Thread ?mit
I assume that you are running into the Samoe Origin Policy Issue. see here: http://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: Reading a file in a GWT-written Gadget

2011-01-18 Thread Eric Ayers
Let me know if this FAQ entry helps (use Gadgets.IO) http://code.google.com/p/gwt-google-apis/wiki/GadgetsFAQ#How_can_I_get_GWT_RPC_to_work_in_a_Gadget? On Tue, Jan 18, 2011 at 9:09 AM, ?mit uemit.se...@gmail.com wrote: I assume that you are running into the Samoe Origin Policy Issue. see

Reading a file in a GWT-written Gadget

2011-01-17 Thread Stephen
I'm trying to read a .txt file into my Gadget using RequestBuilder, but when I call .getText() on the Response, I don't get any actual text. The goal is to have the string returned by .getText() contain all the text in that file. I call: // Retrieve the file data