Re: Opening a File Chooser (using FileUpload Widget) from a DialogBox

2016-04-12 Thread iza
setModal(false) on the dialog box. The modal DialogBox is poorly 
implemented and interferes with other events on the page.

-- 
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+unsubscr...@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.


Opening a File Chooser (using FileUpload Widget) from a DialogBox

2016-04-12 Thread Julio Heitor Nobrega

   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+unsubscr...@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.


Using FileUpload

2011-10-03 Thread Soumaya Ben Abdallah
Hi All,

I was wondering, is there a way to get the last modified date of a
file when using the FileUpload component?

Thanx in advance.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Using FileUpload

2011-10-03 Thread Jim Douglas
Not in any reliable cross-browser way, but review this:

http://www.html5rocks.com/en/tutorials/file/dndfiles/#toc-selecting-files-input
http://dev.w3.org/2006/webapi/FileAPI/#file

On Oct 3, 9:19 am, Soumaya Ben Abdallah soumaya...@gmail.com wrote:
 Hi All,

 I was wondering, is there a way to get the last modified date of a
 file when using the FileUpload component?

 Thanx in advance.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.