Well, first of all if you notice the link I posted earlier, none of
the browsers implement the spec.  If you would like to do it anyway in
case they ever do, you will have to do a getElement and manually set
the property through the DOM API.  Remember every GWT widget is just a
wrapper of an HTML element.

On Jul 20, 10:58 pm, aditya sanas <007aditya.b...@gmail.com> wrote:
> how to embed
>
> <form>
> <input type="file" name="pic" id="pic" accept="image/gif, image/jpeg" />
> </form>
>
> into gwt file upload...?
> --
> Aditya
>
> On Wed, Jul 21, 2010 at 2:00 AM, lineman78 <linema...@gmail.com> wrote:
> >http://www.w3schools.com/TAGS/att_input_accept.asp
>
> > On Jul 20, 2:01 pm, Paachu <binu...@gmail.com> wrote:
> > > Hi,
>
> > > I need to  upload one csv file into my application. I am using
> > > FileUpload compontent to  upload the File. But when I use FileUpload,
> > > the FileUploadDialog displayed All files.. I need to set it
> > > only for csv files . How can I set filter for that?
>
> > > thanks
> > > Paachu.
>
> > --
> > 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-tool...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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-tool...@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