Home     Products      Support      Corporate     Sign In 
Support Knowledge Base, Article 227
Product
JFile
Version
2.x
Title
Native file selector does not allow selection of multiple files
Problem
JFile has the capability to easily upload multiple files.  However, when a user chooses to add files, if UseNativeFileSelection is enabled, a file selector dialog will open which only allows the user to choose one file at a time and add it to the control.  Holding CTRL or SHIFT will have no effect.  The reason for this is an inherent limitation in the User Interface classes provided with the Java AWT API.  At this time, most browsers only support Java AWT, and therefore JFile is built upon this API.

To compensate for the inherent limitations in the Java classes supported by the browser, JFile offers our own powerful platform-neutral file selector which allows for selection of multiple files and folders as well as the application of one or more filters.  For more information about JFile's customizable non-native File Selector, see the JFile documentation at http://support.softartisans.com/docs/sajfiledocs/default.asp. Look at Programmer's Documentation > Programmer's Reference > File Selector Parameters.

Solution
 
By default, JFile will display the system's native file selection window.  To use JFile's file selector, set UseNativeFileSelection to 0.

<param name="UseNativeFileSelection" value="0">

 

Created : 12/1/2002 12:00:00 AM (last modified : 11/20/2001 12:48:00 PM)
Rate this article!
Comments