O'Reilly logo

ExtGWT Rich Internet Application Cookbook by Odili Charles Opute

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Simple FileUpload and processing

Building web applications that can handle file uploads is nothing new, but how do we do it in AJAX without the default (and ugly) HTML file field, and most of all without the page refreshing. GXT, like most other advanced UI toolkits, provides a richer form widget for handling file uploads on the client; the FileUploadField is the one-stop widget for doing validated file uploads to the server from where we can use any of the many Java APIs for processing.

Simple FileUpload and processing

How to do it...

It turns out that file uploads are handled well and easy to set up too. All we need to do is use the FileUploadField widget and (optionally) prevent ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required