}
}
};
uploadForm.addFormHandler(uploadSuccessHandler);
uploadForm.addItemChangeHandler(new ItemChangeHandler() {
public void onItemChange(ItemChangeEvent event) {
if (event.getItem() instanceof UploadItem) {
if (event.getNewValue() == null) {
uploadForm.getField("editableVersion").setValue("");
uploadForm.getField("version").setValue("");