[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Property maxnumberoffiles in fileuploadbuttonasynchronous  XML
Forum Index -> Development
Author Message
brandt

Power User
[Avatar]

Joined: 12/03/2008 16:37:34
Messages: 45
Location: Bern
Offline

Hello Captain,

i use the property maxnumberoffiles to control the number of files which can be uploaded.

This works fine for values 2,3,4, .... as maxnumberoffiles.

But if maxnumberoffiles is set to 1 or to 0, the filechooser dialog allows me to select any number of files for upload.

I expected, if maxnumberoffiles = 1 -> only 1 file could be selected for upload and if maxnumberoffiles = 0 -> no file file could be selected for upload.

As "fileselectiondialog" we use "filechooser". The version we use is "20150803".

Regards
Joe
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5526
Offline

Grüezi Joachim,

the way it should work is:

MULTISELET => one or several files
If MULTISELECT==true then the MAXNUMBEROFFILES can be used

If this is 100% logical or not, I am not 200% sure. But this is due to chronology: the MULTISELECT was first...

Regards, Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team