Hi,
I am creating an application with vaadin 6.5. The application require multiple file upload. So i used easyuploads addon. But while running the application i get the following exception message in my browser But the widgetset compilation completed successfully with no errors.
Widgetset does not contain implementation for org.vaadin.easyuploads.MultiUpload. Check its @ClientWidget mapping, widgetsets GWT module description file and re-compile your widgetset. In case you have downloaded a vaadin add-on package, you might want to refer to add-on instructions. Unrendered UIDL:
+Unrendered UIDL
And my main application is :
MultiFileUpload multiFileUpload = new MultiFileUpload() {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
protected void handleFile(File file, String fileName,
String mimeType, long length) {
String msg = fileName + " uploaded. Saved to temp file "
+ file.getAbsolutePath() + " (size " + length
+ " bytes)";
mainWindow.showNotification(msg);
}
};
multiFileUpload.setCaption("MultiFileUpload");
mainWindow.addComponent(multiFileUpload);
mainWindow.addComponent(hr());
MultiFileUpload upload = new MultiFileUpload() {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
protected void handleFile(File file, String fileName, String mimeType,
long length) {
String msg = fileName + " uploaded. Saved to temp file "
+ file.getAbsolutePath() + " (size " + length
+ " bytes)";
mainWindow.showNotification(msg);
}
@Override
protected FileBuffer createReceiver() {
FileBuffer receiver = super.createReceiver();
/*
* Make receiver not to delete files after they have been
* handled by #handleFile().
*/
receiver.setDeleteFiles(false);
return receiver;
}
};
upload.setCaption("Multifile upload");
upload.setRootDirectory(TEMP_FILE_DIR);
mainWindow.addComponent(upload);
Please help me to resolve this isssue!
Thanks and Regards, Vignesh