My crack at a simple, but powerful, file upload widget

47 views
Skip to first unread message

pvul...@gmail.com

unread,
Aug 9, 2006, 11:56:54 AM8/9/06
to Google Web Toolkit
Hi everyone,

I've posted my own version of a file upload widget here:

http://vulgarisoip.wordpress.com/2006/08/07/file-uploads-with-the-google-web-toolkit/

The code is really simple because the only thing I use it for is to
upload some batch data to a PHP script and shoot back a processed file.
There's no feedback to the app, but this may not be necessary for a lot
of people.

I know that a real GWT solution is coming soon, but maybe not soon
enough for some people (like me!).

ash

unread,
Aug 9, 2006, 7:23:10 PM8/9/06
to Google Web Toolkit
hello pvulgaris,

> The code is really simple because the only thing I use it for is to
> upload some batch data to a PHP script and shoot back a processed file.
> There's no feedback to the app, but this may not be necessary for a lot
> of people.

im not a php'er but for those interested in file upload monitoring then
consider taking a look at:

0.
http://javaongems.googlecode.com/svn/trunk/src/org/javaongems/public/jsps/sample-upload-form.jsp
1.
http://javaongems.googlecode.com/svn/trunk/src/org/javaongems/client/stdctrls/HttpPostForm.java
2.
http://javaongems.googlecode.com/svn/trunk/src/org/javaongems/runtime/fileupload/MonitoredOutputStream.java
3.
http://javaongems.googlecode.com/svn/trunk/src/org/javaongems/server/rpc/io/HttpPostGateKeeperAction.java
4.
http://javaongems.googlecode.com/svn/trunk/src/org/javaongems/server/rpc/io/BaseHttpPostPickupRpcImpl.java


this entire code set is exercised by the following class
5.
http://juls.googlecode.com/svn/trunk/src/au/com/gworks/jump/app/wiki/client/navigation/FileUpload.java

> I know that a real GWT solution is coming soon, but maybe not soon
> enough for some people (like me!).

similar to words that i muttered some time ago

btw, what makes you think that the gwt team will will ship a
php/perl/<put your impl here> file upload implementation in the up
comming release?

rgds ash
http://www.gworks.com.au/

self help sources:
1. http://javaongems.org/ -> http://code.google.com/p/javaongems/
2. http://code.google.com/p/gems-gwt-user/
3. http://code.google.com/p/juls/

Reply all
Reply to author
Forward
0 new messages