Yes, i thought to do in that way.

But the trouble is that i need to work with 3 files, and i need to
execute more than one method over the file contents, so that was that
i was wondering some how to make sure that the content was loaded and
then work with it.

On 16 ago, 14:45, André Moraes <andr...@gmail.com> wrote:
> If i get it correct:
>
> 1- Your file as a file that your server will serve when you make a GET
> request.
> 2- You are using RequestBuilder to open a connection to your server and
> fetch the file
> 3- If all of this is true, you should do:
> 3.1 -> create the requestbuilder and point it to your file
> 3.2 -> you created your request passing a RequestCallback 
> (see:http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/g...
> )
> 3.3 -> Inside the onResponseReceived of that call, you write the logic to
> load and process your file.
>
> This approach is much more complex but this have the advantage of not
> blocking the browser.
>
> Hope it helps,
>
> --
> André Moraes
> Analista de Desenvolvimento de Sistemas
> andr...@gmail.comhttp://andredevchannel.blogspot.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to