I use

private native void resetForm() /*-{
                $doc.forms[0].reset();
        }-*/;

On 5 jan, 12:20, "olivier FRESSE" <olivier.fre...@gmail.com> wrote:
> it may depend of the way your form is built,
> but you can call reset() on the form object in javascript.
> This means that you need a JSNI call.
>
> A file input can be accessed in JS for security reason, but reseting the
> form will clear it. And all the inputs of the form...
>
> 2009/1/5 fother <fot...@gmail.com>
>
>
>
> > I need reset the FileUpload..
> > In my form when I submit the form I need clear all fields..
>
> > it's possible?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to