Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » file upload widget - filter files
file upload widget - filter files [message #651074] Thu, 27 January 2011 17:02 Go to next message
Ravi Kumar S is currently offline Ravi Kumar SFriend
Messages: 12
Registered: July 2009
Junior Member
Hi All,
I am using file upload widget from the sandbox. I want to filter files in the browse dialog. For eg. I want to show only files of jpg extension.

Any ideas ?


Rgds
Ravi
Re: file upload widget - filter files [message #651296 is a reply to message #651074] Fri, 28 January 2011 18:26 Go to previous message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 335
Registered: July 2009
Senior Member
Ravi,

according to this discussion [1], there exists an accept attribute for
the <input> element which accepts MIME types. The specification says, it
should be used as a file type *hint*. However, it seems that most
browsers ignore this directive.

Rüdiger

On 27.01.2011 18:02, Ravi Kumar S wrote:
> Hi All,
> I am using file upload widget from the sandbox. I want to filter files
> in the browse dialog. For eg. I want to show only files of jpg extension.
>
> Any ideas ?
>
>
> Rgds
> Ravi
Previous Topic:Google Visualization API
Next Topic:Load TrimmedWindow and PartImpl in RAP
Goto Forum:
  


Current Time: Thu Apr 25 01:41:06 GMT 2024

Powered by FUDForum. Page generated in 0.03031 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top