Wednesday, January 30, 2013

How to upload a file only on the client side?


I defined a file upload. I do not want to send the file to the server, but instead directly show the content (txt file) to the user. How could I do this: getting the content of the file? What am I missing?

@UiField FormPanel form;
@UiField FileUpload upload;
@UiField Button submit;


void onSubmit(ClickEvent event) {

void onSubmitForm(SubmitCompleteEvent evt) {
    Sysout("this never executes: " + evt.getResults());

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment