Dear friends,
i am having some problemas using the FileUpload widget and the DialogBox.
If i try to open the file chooser to choose a image from the file system from FileUpload like this:
new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
FileUploader upload = new FileUploader((Image)event.getSource());
upload.click();
}
};
Everything goes fine because the image is attached direct to the RootPanel.
Buy if i use the same code with the image (or could be a button as well) inside a DialogBox, nothing happens and the file chooser does not open.
I am using the GWT 2.7.
Could anyone help me with this?
Best regards!
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment