Question

I'm trying to use gwtupload library and I'm using gwt version 2.5.1. their download page GwtUpload 0.6.6 library is compatible with gwt 1.6.4, 1.7.x, 2.0.x, 2.1.x, 2.2.x, 2.3.0, 2.4.0, 2.5.0. so no 2.5.1. So it's not possible to use it in my app, or is compatible 2.5.0 enough? Any updates on that ?

When I try to run my app I'm getting an error:

[ERROR] [myApp] - Line 18: No source code is available for type gwtupload.client.SingleUploader; did you forget to inherit a required module?

import gwtupload.client.SingleUploader;

line 18: private SingleUploader uploadFile;

I'm hoping it's another problem than the version of gwt. thx for any help.

The reason I'm needing this library is to costumize my FileUploadForm (Button), so also thx for any new ideas or similar libraries.

Was it helpful?

Solution

As stated from the comments the GWT module file was not configured in order to inherit the gwtupload module.

OTHER TIPS

If you just want to redesign your Button you might use a little trick there. Make sure your actual uploadbutton is out of sight (by setting css top,left:10000 or something). Afterwards you can place your own customized Button to the place where the actual upload button is supposed to be. The only thing you have to do now, is trigger your actual button clickevent, when your customized button is pushed.

There is a Formpanel and an FileUpload class directly delivered with GWT

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top