Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP 2.2M2 FileUpload: Filter specific extension
RAP 2.2M2 FileUpload: Filter specific extension [message #1168688] Sun, 03 November 2013 13:44 Go to next message
Tobias P. is currently offline Tobias P.Friend
Messages: 43
Registered: April 2012
Member
Hello,

i am developing a RAP application and at one point, it should be possible to upload excel files to the server and they should be processed on the server. I really like the new FileDialog compared to the old one because it is easier for the user to upload multiple files.

However i can not find a possibilty to only allow extension .xls

Is this possible either the new or old FileDialog?

What are the reommedations?

Thanks in advance
Tobias
Re: RAP 2.2M2 FileUpload: Filter specific extension [message #1168838 is a reply to message #1168688] Sun, 03 November 2013 16:04 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Tobias,
the filtering API was removed from the new FileDialog implementation due
to missing native support (filtering by extension) in most of the
browsers. The old filtering implementation was confused for most of the
users. Changing text field background color to yellow after the file is
uploaded was not so convenient. If more browsers support native
filtering by extension in the future we will bring the FileDialog API back.
Best,
Ivan

On 11/3/2013 3:44 PM, Tobias P. wrote:
> Hello,
>
> i am developing a RAP application and at one point, it should be
> possible to upload excel files to the server and they should be
> processed on the server. I really like the new FileDialog compared to
> the old one because it is easier for the user to upload multiple files.
>
> However i can not find a possibilty to only allow extension .xls
>
> Is this possible either the new or old FileDialog?
>
> What are the reommedations?
>
> Thanks in advance
> Tobias

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Drag and Drop from outside RAP
Next Topic:Drawing with GC on shell
Goto Forum:
  


Current Time: Thu Apr 25 06:07:21 GMT 2024

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

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

Back to the top