I use

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

On 5 jan, 12:20, "olivier FRESSE" <[email protected]> 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 <[email protected]>
>
>
>
> > 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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to