Yes, but it doesn't do the upload when I hit Enter. Which is what I'm trying to figure out how to get it to do.
Greg On Jan 4, 8:20 am, jaybose <[email protected]> wrote: > http://gwt.google.com/samples/Showcase/Showcase.html#!CwFileUpload > > Look at the source of the ShowCase example above. > The uploadButton it uses is not a SubmitButton either. > > Just make sure the handler of your EnterButton submits the form. > > On Jan 3, 8:57 am, Greg Dougherty <[email protected]> wrote: > > > So, now that I have an EnterButton class, I'd like to use it. :-) I > > have a form panel with a FileUpload. I'd like to let the user select > > a file, then hit enter to fire the form submit button (which is an > > EnterButton, not a SubmitButton). > > > Unfortunately, FileUpload does not have an addKeyPressHandler > > routine. So, who gets any key events I generate while in the text > > field part of a FileUpload? What is the call chain for events that > > aren't captured by the Widget where the event happens? > > > Sorry if this is an FAQ, and in the docs. I took a (quick) look, and > > couldn't find anything. Please point me to the correct docs if it is > > in there. > > > Thanks! > > > Greg -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
