again. To upload, use the blobstore.
use all the example code except index.jsp from this page:
replace index.jsp with a gwt file similar to the example in this page:
Change this line in Upload.java from
BlobKey blobKey = blobs.get("myFile");
BlobKey blobKey = blobs.get("textBoxFormElement");
Delete parts of FileUpload that involve the listbox.
Also, use an RPC call to get the form action url. The server side code
for the RPC call should look like this:
Hope this helps :)
On Jul 30, 5:48 pm, alan <alan.sny...@gmail.com> wrote:
> I need to read a csv file from the hard drive to populate a table in a
> dialog box.
> This seems to require using the FileUpload class, but I've not found a
> good example of it is use. Could anyone recommend a complete example
> that could accomplish this.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to firstname.lastname@example.org.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.